- 01 Aug, 2001 3 commits
-
-
Tatsuo Ishii authored
10000 tuples, rather than one big copy. This will prevent generating too much WAL logs.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 31 Jul, 2001 9 commits
-
-
Tom Lane authored
number in the data structure so that we can give at least a minimally useful idea of where the mistake is when we issue syntax error messages. Move the ClientAuthentication() call to where it should have been in the first place, so that postmaster memory releasing can happen in a reasonable place also. Update obsolete comments, correct one real bug (auth_argument was not picked up correctly).
-
Tom Lane authored
more care with resjunk tlist entries than it was doing. The original coding ignored resjunk entries entirely, but a resjunk entry that is in either the distinctClause or sortClause lists indicates that DISTINCT ON was used. It's important for ruleutils.c to get this right, else we may dump views using DISTINCT ON incorrectly.
-
Tom Lane authored
has a DISTINCT ON clause, per bug report from Anthony Wood. While at it, improve the DISTINCT-ON-clause recognizer routine to not be fooled by out- of-order DISTINCT lists.
-
Bruce Momjian authored
mapping, not character strings.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Tom Lane authored
anymore.
-
Tom Lane authored
-
Tom Lane authored
echo "command" | postgres to the style postgres <<EOF command EOF This makes the script more legible (IMHO anyway) by reducing the need to escape quotes, and allows us to execute successive SQL commands in a single standalone-backend run, rather than needing to start a new standalone backend for each command. With all the CREATE VIEWs that are getting done now, this makes for a rather substantial reduction in the runtime of initdb. (Some of us do initdb often enough to care how long it runs ;-).)
-
- 30 Jul, 2001 8 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
Larry Rosenman
-
Bruce Momjian authored
John Gray
-
Bruce Momjian authored
Rene Pijlman
-
Bruce Momjian authored
connection implementations (org.postgresql.jdbc[1|2].Connection) into their superclass (org.postgresql.Connection). It also changes the close() methods of Connection and PG_Stream, so that PG_Stream no longer is responsible for sending the termination packet 'X' to the backend. I figured that protocol-level stuff like that belonged in Connection more than in PG_Stream. Anders Bengtsson
-
Bruce Momjian authored
Lists, and use that for user validation. Bruce Momjian
-
- 29 Jul, 2001 1 commit
-
-
Tom Lane authored
namely after the view definition rather than before it. Bug introduced in 7.1 by changes to dump stuff in OID ordering.
-
- 22 Jul, 2001 1 commit
-
-
Tom Lane authored
-
- 21 Jul, 2001 9 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
value for each column. Here is a context diff of CVS which should fix it. Jason Davies
-
Bruce Momjian authored
in Connection - note: I've updated setCatalog(String catalog) from my previous diff so it checks whether it is already connected to the specified catalog. Jason Davies
-
Bruce Momjian authored
Here's a patch against the current CVS. The changes from the previous patch are mostly related to the changed interface for PG_Stream. Anders Bengtsson
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
changes on this new source to make non-blocking connection work. I tested it, and PQSendQuery and PQGetResult are working fine. In win32.h I added one line: #define snprintf _snprintf Darko Prenosil
-
Bruce Momjian authored
-
- 20 Jul, 2001 7 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
functions do not set errno, so some normal conditions are treated as fatal errors. e.g. fetching large tuples fails, as at some point recv() returns EWOULDBLOCK. here's a patch, which replaces errno with WSAGetLastError(). i've tried to to affect non-win32 code. Dmitry Yurtaev
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 19 Jul, 2001 2 commits
-
-
Tom Lane authored
-
Tom Lane authored
rather than deleting them only to have to create more. Steady state is 2*CHECKPOINT_SEGMENTS + WAL_FILES + 1 segment files, which will simply be renamed rather than constantly deleted and recreated. To make this safe, added current XLOG file/offset number to page header of XLOG pages, so that an un-overwritten page from an old incarnation of a logfile can be reliably told from a valid page. This change means that if you try to restart postmaster in a CVS-tip database after installing the change, you'll get a complaint about bad XLOG page magic number. If you don't want to initdb, run contrib/pg_resetxlog (and be sure you shut down the old postmaster cleanly).
-