Commit Graph

6351 Commits

Author SHA1 Message Date
Bruce Momjian
cb0032cdcf Update for QNX from Kardos, Dr. Andrea 1999-12-09 15:56:16 +00:00
Tom Lane
f7f41c7c8c Replace generic 'Illegal use of aggregates' error message with one that
shows the specific ungrouped variable being complained of.  Perhaps this
will reduce user confusion...
1999-12-09 05:58:56 +00:00
Bruce Momjian
d65a27f950 Hi,
I was able to crash postgres 6.5.3 when I did an 'alter user' command.
After I started a debugger I found the problem in the timezone handling
of
datetime (my Linux box lost its timezone information, that's how the
problem occurred).

Only 7 bytes are reserved for the timezone, without checking for
boundaries.

Attached is a patch that fixes this problem and emits a NOTICE if a
timezone is encountered that is longer than MAXTZLEN bytes, like this:

Jeroen van Vianen
1999-12-09 05:02:24 +00:00
Bruce Momjian
469cf43fac Remove extra vacuum, from Peter. 1999-12-09 04:36:57 +00:00
Jan Wieck
0882951b0c Fixed concurrent visibility bug.
Jan
1999-12-08 20:41:22 +00:00
Bruce Momjian
b7539d92f9 Fix indexing of cidr. 1999-12-08 11:37:38 +00:00
Bruce Momjian
2192a92f3c Cleanup 1999-12-08 11:17:20 +00:00
Bruce Momjian
0dec669a0f Change $< to $+ in scripts Makefile, and clean up pg_encoding if logic. 1999-12-08 10:29:55 +00:00
Michael Meskes
7cf0f634d5 *** empty log message *** 1999-12-08 09:52:29 +00:00
Bruce Momjian
a010be7543 Peter's file removals. 1999-12-07 22:43:03 +00:00
Bruce Momjian
a0aab48fcd Okay, that should put us back in sync. These two patches (src & doc) are
against the sources from one hour ago and contain all the portable and
up
to date stuff.

A few other CVS "householding" things you might want to take care of:

* Remove the src/bin/cleardbdir directory

* Remove the file src/bin/psql/sql_help.h from the repository, as it is
a derived file and is build by the release_prep.

Peter Eisentraut
1999-12-07 22:41:44 +00:00
Michael Meskes
54847b25d4 *** empty log message *** 1999-12-07 10:29:18 +00:00
Tom Lane
04fa5ca544 Clean up memory leakage in find_inheritors() by using pg_list lists
(which are palloc'd) instead of DLLists (which are malloc'd).  Not very
significant, since this routine seldom has anything useful to do, but
a leak is a leak...
1999-12-07 04:09:39 +00:00
Jan Wieck
5ad4034a4c Again updated INSIDE TODO
Jan
1999-12-07 00:13:41 +00:00
Jan Wieck
70dd9e81af Added SET DEFAULT action for ON DELETE/UPDATE
Jan
1999-12-07 00:11:35 +00:00
Jan Wieck
3327730bbd Corrected TODO in source
Jan
1999-12-06 19:52:36 +00:00
Jan Wieck
2eb53e684c Added ON DELETE/UPDATE SET NULL
Jan
1999-12-06 19:50:49 +00:00
Jan Wieck
b8ef7e7f82 Completed FOREIGN KEY syntax.
Added functionality for automatic trigger creation during CREATE TABLE.

Added ON DELETE RESTRICT and some others.

Jan
1999-12-06 18:02:47 +00:00
Thomas G. Lockhart
1d8ce77233 Update entries with recent results for Alpha and ARM processors.
Remove references to Ultrix; haven't heard from it for a *long* time :(
1999-12-06 16:40:45 +00:00
Thomas G. Lockhart
b7f6168516 Fix markup (a couple of missing tags) and renormalize. 1999-12-06 16:38:25 +00:00
Thomas G. Lockhart
b6332952b7 Remove references to PostgreSQL as "public-domain" since that has a
specific meaning wrt copyright (or lack thereof).
1999-12-06 16:37:11 +00:00
Tatsuo Ishii
8ad4f99b73 Fix the case of -o given 1999-12-06 08:49:00 +00:00
Tatsuo Ishii
8231a7ab20 Fix minor bugs 1999-12-06 08:35:34 +00:00
Tatsuo Ishii
5b912b089c pg_ctl: a script to start/stop/restart and report status of postmaster. 1999-12-06 07:23:41 +00:00
Tatsuo Ishii
169051afc9 Fix bugs regarding pid file. 1999-12-06 07:21:12 +00:00
Tom Lane
1891f0e913 Update rules test for extra quoting in rule deparser. 1999-12-06 02:38:56 +00:00
Tom Lane
53311358c2 Rule deparser needs to quote identifiers that are spelled the same as
SQL keywords.
1999-12-06 02:37:17 +00:00
Bruce Momjian
7657bce7a0 Clean up doc/Makefile to install manual pages. 1999-12-05 21:23:00 +00:00
Bruce Momjian
81c0383295 Fix echo -n and read -r in scripts. 1999-12-05 20:52:54 +00:00
Bruce Momjian
60ae5ed037 Remove destroylang.sgml. 1999-12-05 20:29:18 +00:00
Bruce Momjian
d7857e5713 Update. 1999-12-05 20:22:00 +00:00
Bruce Momjian
66f8da0756 Update 1999-12-05 20:04:42 +00:00
Bruce Momjian
ed62104ea9 I cleaned those out as well (the echo -n "bug" was in there ;) and moved
them into the scripts dir. I also added a --list option to show already
installed languages.

This whole moving and renaming totally confused CVS and my checked out
copy got completely fried last night. When you apply the source patch,
please make sure that all the directories src/bin/{create|destroy}* as
well as vacuumdb, cleardbdir are gone and that all the scripts (7) are
in
scripts/.

Meanwhile I am still puzzled about what happened with the docs patch.
Because I don't know what you got now, the second attachment contains
the
files

ref/allfiles.sgml
ref/commands.sgml
ref/createlang.sgml
ref/droplang.sgml
doc/src/sgml/Makefile

Peter Eisentraut                  Sernanders väg 10:115
1999-12-05 20:02:49 +00:00
Bruce Momjian
9eb69977fe This *should* fix the large object segfault problem. Note linewrap may
be interfering with last line of patch.

Vince.
1999-12-05 19:29:37 +00:00
Bruce Momjian
e2b71e0839 Re-add destroylang. 1999-12-04 12:50:54 +00:00
Tatsuo Ishii
d9f61cfa15 Unlink the pid file if it's bogus (no associated process exists) 1999-12-04 08:23:43 +00:00
Bruce Momjian
e958a30542 Update scripts from Peter. 1999-12-04 05:03:49 +00:00
Bruce Momjian
240e4c98f5 New scripts for create/drop user/db from Peter Eisentraut 1999-12-04 04:53:22 +00:00
Bruce Momjian
21b69148dc No distclean for pgaccess/Makefile. 1999-12-04 04:34:56 +00:00
Bruce Momjian
573553296b Replace examples .H to .h. 1999-12-03 18:28:32 +00:00
Bruce Momjian
5ada36c1e4 Rename libpq++.H to libpq++.h. 1999-12-03 17:35:05 +00:00
Jan Wieck
89ad160622 Arranged that plpgsql.so is used from new build, not installed
one in production PGLIB.

Jan
1999-12-03 12:47:43 +00:00
Tatsuo Ishii
dde36bfb7c Create postmaster.pid and postmaster.opts under $PGDATA 1999-12-03 06:26:34 +00:00
Tom Lane
9de156f116 Type 'socklen_t' might be the right way to declare getsockopt()'s last
parameter in some flavor of Unix, but Linux, HPUX, and SunOS all say
it's int.  For now I'm just going to make it int so that I can compile.
If the other way is actually necessary on some Unix somewhere, I guess
we will need a configure test...
1999-12-02 00:26:15 +00:00
Bruce Momjian
8f9216313a Improve descriptions of date/time functions. 1999-12-01 18:03:26 +00:00
Bruce Momjian
4901ff77bd Mention index name when reporting corruption. 1999-12-01 00:29:54 +00:00
Bruce Momjian
1f64926953 Fix compile error on older patch. 1999-11-30 04:29:57 +00:00
Bruce Momjian
eebfb9baa5 create/alter user extension
This one should work much better than the one I sent in previously. The
functionality is the same, but the patch was missing one file resulting
in
the compilation failing. The docs also received a minor fix.

Peter Eisentraut                  Sernanders väg 10:115
1999-11-30 03:57:29 +00:00
Bruce Momjian
3ab5b1f1e6 This patch (against the current CVS sources) adds to libpq the functions
PQconnectStart
PQconnectPoll
PQresetStart
PQresetPoll
PQsetenvStart
PQsetenvPoll
PQsetenvAbort

and brings into the published interface

PQsetenv.

The first four are asynchronous analogues of PQconnectdb and PQreset -
they allow an application to connect to the DB without blocking on
remote I/O.

The PQsetenv functions perform an environment negotiation with the
server.

Internal to libpq, pqReadReady and pqWriteReady have been made available
across the library (they were previously static functions inside
fe-misc.c).  A lot of internal rearrangement has been necessary to
support these changes.

The API documentation has been updated also.

Caveats:

  o  The Windows code does not default to using non-blocking sockets,
since I have no documentation: Define WIN32_NON_BLOCKING_CONNECTIONS to
do that.

  o  The SSL code still blocks.


Ewan Mellor.
1999-11-30 03:08:19 +00:00
Bruce Momjian
d264b53d2f Rename readonly to onlyread in odbc. Use varargs properly. 1999-11-30 02:44:09 +00:00