- 07 Dec, 2003 1 commit
-
-
Bruce Momjian authored
> * -Use dependency information to dump data in proper order
-
- 06 Dec, 2003 3 commits
-
-
Joe Conway authored
and pg_settings view.
-
Tom Lane authored
one (use a priority heap to keep track of items ready to output, instead of searching the input array each time). This brings the runtime of pg_dump back to about what it was in 7.4.
-
Tom Lane authored
pg_depend to determine a safe dump order. Defaults and check constraints can be emitted either as part of a table or domain definition, or separately if that's needed to break a dependency loop. Lots of old half-baked code for controlling dump order removed.
-
- 05 Dec, 2003 3 commits
-
-
Tom Lane authored
-
Teodor Sigaev authored
-
Teodor Sigaev authored
-
- 04 Dec, 2003 2 commits
-
-
Peter Eisentraut authored
-
Teodor Sigaev authored
-
- 03 Dec, 2003 5 commits
-
-
Joe Conway authored
-
Joe Conway authored
to certain compile-time options (FUNC_MAX_ARGS, INDEX_MAX_KEYS, NAMEDATALEN, BLCKSZ, HAVE_INT64_TIMESTAMP). Also added "category", "short_desc", and "extra_desc" to the pg_settings view. Per recent discussion here: http://archives.postgresql.org/pgsql-patches/2003-11/msg00363.php
-
Tom Lane authored
and hash bucket-size estimation. Issue has been there awhile but is more critical in 7.4 because it affects varchar columns. Per report from Greg Stark.
-
Teodor Sigaev authored
-
Michael Meskes authored
-
- 02 Dec, 2003 4 commits
-
-
Joe Conway authored
transaction has been committed without SPI_finish() being called first. Per recent discussion here: http://archives.postgresql.org/pgsql-patches/2003-11/msg00286.php
-
Tom Lane authored
-
Peter Eisentraut authored
-
Tom Lane authored
-
- 01 Dec, 2003 22 commits
-
-
Bruce Momjian authored
pg_autovacuum looses track of any table that's ever been truncated (possibly other situations too). When i truncate a table it gets a new relfilenode in pg_class. This is a problem because pg_autovacuum assumes pg_class.relfilenode will join to pg_stats_all_tables.relid. pg_stats_all_tables.relid is actallly the oid from pg_class, not the relfilenode. These two values start out equal so pg_autovacuum works initially, but it fails later on because of this incorrect assumption. This patch fixes that problem. Applied to HEAD and 7.4.X. Brian Hirt
-
Bruce Momjian authored
Andrew Dunstan
-
Bruce Momjian authored
not initialized if a log file is not specified on the command line. This causes an immediate segfault on systems that fill allocated memory with some value other than zero (my FreeBSD machine uses 0xD0). Several crashes later I discovered that args->user, password, host, and port are also used without being initialized. This doesn't appear to be fixed in CVS and I came up empty on a mailing list search -- hope it hasn't been reported already. Craig Boston
-
Bruce Momjian authored
(again). Please consider this patch for the 7.4.1 branch (if there will be one) too. Jason Tishler
-
Bruce Momjian authored
Neil Conway
-
Bruce Momjian authored
for the AT clause in threaded ECPG applications. Philip Yarra
-
Bruce Momjian authored
\lo_export LOBOID FILE \lo_import FILE [COMMENT] \lo_list \lo_unlink LOBOID large object operations Instead of not saying anything about what arguments are required. Christopher Kings-Lynne
-
Bruce Momjian authored
Claudio Natoli
-
Bruce Momjian authored
< * Change factorial to return a numeric > * -Change factorial to return a numeric (Gavin) 258c258 < * Allow psql \du to show groups, and add \dg for groups > * -Allow psql \du to show groups, and add \dg for groups
-
Bruce Momjian authored
\du and a \dg command to psql. It's against 7.4beta5. Markus Bertheau <twanger@bluetwanger.de>
-
Tom Lane authored
on 64-bit Solaris. Use a non-system-dependent datatype for UsedShmemSegID, namely unsigned long (which we were already assuming could hold a shmem key anyway, cf RecordSharedMemoryInLockFile).
-
Bruce Momjian authored
comments in the psql code. This doesn't make any functional change, so feel free to save it for 7.5 Neil Conway
-
Bruce Momjian authored
definitions use pretty printing. It does: * Pretty index predicates * Pretty rule definitions * Uppercases PRIMARY KEY and UNIQUE to be consistent with CHECK and FOREIGN KEY * View rules are improved to match table rules: Christopher Kings-Lynne
-
Bruce Momjian authored
proposal for eventually deprecating OIDs on user tables that I posted earlier to pgsql-hackers. pg_dump now always specifies WITH OIDS or WITHOUT OIDS when dumping a table. The documentation has been updated. Neil Conway
-
Bruce Momjian authored
method control structure, or a table of control structures. . Use type LOCKMASK where an int is not a counter. . Get rid of INVALID_TABLEID, use INVALID_LOCKMETHOD instead. . Use INVALID_LOCKMETHOD instead of (LOCKMETHOD) NULL, because LOCKMETHOD is not a pointer. . Define and use macro LockMethodIsValid. . Rename LOCKMETHOD to LOCKMETHODID. . Remove global variable LongTermTableId in lmgr.c, because it is never used. . Make LockTableId static in lmgr.c, because it is used nowhere else. Why not remove it and use DEFAULT_LOCKMETHOD? . Rename the lock method control structure from LOCKMETHODTABLE to LockMethodData. Introduce a pointer type named LockMethod. . Remove elog(FATAL) after InitLockTable() call in CreateSharedMemoryAndSemaphores(), because if something goes wrong, there is elog(FATAL) in LockMethodTableInit(), and if this doesn't help, an elog(ERROR) in InitLockTable() is promoted to FATAL. . Make InitLockTable() void, because its only caller does not use its return value any more. . Rename variables in lock.c to avoid statements like LockMethodTable[NumLockMethods] = lockMethodTable; lockMethodTable = LockMethodTable[lockmethod]; . Change LOCKMETHODID type to uint16 to fit into struct LOCKTAG. . Remove static variables BITS_OFF and BITS_ON from lock.c, because I agree to this doubt: * XXX is a fetch from a static array really faster than a shift? . Define and use macros LOCKBIT_ON/OFF. Manfred Koizar
-
Bruce Momjian authored
-
Bruce Momjian authored
to note: 1) arttype is numeric. I thought this was the best way of allowing arbitarily large factorials, even though factorial(2^63) is a large number. Happy to change to integers if this is overkill. 2) since we're accepting numeric arguments, the patch tests for floats. If a numeric is passed with non-zero decimal portion, an error is raised since (from memory) they are undefined. Gavin Sherry
-
Tom Lane authored
cnliou.
-
Tom Lane authored
per gripe from Joe Sunday.
-
Tom Lane authored
-
Tom Lane authored
since there is no need to worry about damaged pages when we are going to overwrite them anyway from the WAL. Per recent discussion.
-
Bruce Momjian authored
while you can actually set them with SET. This applied patch changes the wording from "Show" to "Set".
-