summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2003-12-12fix casting pooled connections to PGStatement problem patch by JariPDave Cramer
2003-12-12patch to build under jdk1.1 from Richard ScrantonDave Cramer
2003-12-12binary stream patch by Kris Jurka fixes empty stream failureDave Cramer
2003-12-12metadata encoding patch from Kris JurkaDave Cramer
2003-12-11New translationPeter Eisentraut
2003-12-11Fix thinko in comment.Tom Lane
2003-12-11build number set to 300 to avoid conflict with 7.4 buildsDave Cramer
threadsafe patch from Karl von Randow applied
2003-12-11patch to deal with unique foreign keys in 7.4 from Kris JurkaDave Cramer
2003-12-11tch to make sure PSQLState is Serializable and a test case to prove itDave Cramer
2003-12-11patch to make sure PSQLState is Serializable and a test case to prove itDave Cramer
2003-12-10incremented build to 211Dave Cramer
2003-12-09query_tree_mutator should copy RangeTblEntry nodes even when it's notTom Lane
planning to modify them itself. Otherwise we end up with shared RTE substructure, which breaks inheritance_planner because the rte->inh flag needs to be independent in each copied subquery. Per bug report from Chris Piker.
2003-12-08Whole-row references were broken for subqueries and functions, becauseTom Lane
attr_needed/attr_widths optimization failed to allow for Vars with attno zero in this case. Per report from Tatsuo Ishii.
2003-12-08Work around naming conflict between zlib and OpenSSL by tweaking inclusionTom Lane
order. Remove some unnecessary #includes (that duplicate c.h).
2003-12-07Remove test on c.relkind from check_constraints view; unnecessary andTom Lane
prevents view from showing constraints on domains. This addresses the other half of Claus Colloseus' bug report.
2003-12-07Fix typmod interpretation for bit types. (It was erroneously assumed thatPeter Eisentraut
for bit(x), the typmod stores x+4, like for the character types.)
2003-12-07One more pass at reducing the cost of pg_dump's new implementation:Tom Lane
reduce the number of times TopoSort() has to be executed by trying to extract multiple dependency loops from each pass, instead of only one. This saves about another factor of ten on the regression database. This could be considered as another exercise in grokking Fred Brooks' maxim: Representation *is* the essence of programming.
2003-12-07Repair indexed bytea like operations, and related selectivityJoe Conway
functionality. Per bug report by Alvar Freude: http://archives.postgresql.org/pgsql-bugs/2003-12/msg00022.php
2003-12-07Speed up findObjectByCatalogId() to get rid of the other salientTom Lane
bottleneck in the new pg_dump code.
2003-12-06Replace not-very-bright implementation of topological sort with a betterTom Lane
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.
2003-12-06Massive overhaul of pg_dump: make use of dependency information fromTom Lane
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.
2003-12-05Guard against bug in Solaris' bsearch(), per Michael Wildpaner.Tom Lane
2003-12-03catversion change needed by previous read-onlu GUC variables commit.Joe Conway
2003-12-03Added new group of read-only GUC variables to allow simple accessJoe Conway
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
2003-12-03Planner failed to be smart about binary-compatible expressions in pathkeysTom Lane
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.
2003-12-03Added patch by Dave Cramer for array handling in ecpglib.Michael Meskes
2003-12-02Add a warning to AtEOXact_SPI() to catch cases where the currentJoe Conway
transaction has been committed without SPI_finish() being called first. Per recent discussion here: http://archives.postgresql.org/pgsql-patches/2003-11/msg00286.php
2003-12-02Fix some small errors.Peter Eisentraut
2003-12-02Code and docs review for numeric-factorial patch.Tom Lane
2003-12-01Fix initdb use of mkdir_p().Bruce Momjian
Andrew Dunstan
2003-12-01The attached patch enables contrib/cube to build cleanly under CygwinBruce Momjian
(again). Please consider this patch for the 7.4.1 branch (if there will be one) too. Jason Tishler
2003-12-01This patch refactors execTuples.c in two ways.Bruce Momjian
Neil Conway
2003-12-01This makes help like this:Bruce Momjian
\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
2003-12-01Win32 patch for Makefile.shlibBruce Momjian
Claudio Natoli
2003-12-01attached is a patch that adds display of the groups a user belongs to toBruce Momjian
\du and a \dg command to psql. It's against 7.4beta5. Markus Bertheau <twanger@bluetwanger.de>
2003-12-01Avoid assuming that type key_t is 32 bits, since it reportedly isn'tTom Lane
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).
2003-12-01This patch reduces some unsightly #ifdefs, and fixes two typos inBruce Momjian
comments in the psql code. This doesn't make any functional change, so feel free to save it for 7.5 Neil Conway
2003-12-01This patch finishes off the work that I did with making viewBruce Momjian
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
2003-12-01This patch adds a new GUC var, "default_with_oids", which follows theBruce Momjian
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
2003-12-01Try to reduce confusion about what is a lock method identifier, a lockBruce Momjian
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
2003-12-01Attached is a patch implementing factorial(), returning numeric. PointsBruce Momjian
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
2003-12-01netmask() and hostmask() functions should return maximum-length masklen,Tom Lane
per gripe from Joe Sunday.
2003-12-01Force zero_damaged_pages to be effectively ON during recovery from WAL,Tom Lane
since there is no need to worry about damaged pages when we are going to overwrite them anyway from the WAL. Per recent discussion.
2003-12-01Seems there are three GUC variables that are defined as "Shows ..."Bruce Momjian
while you can actually set them with SET. This applied patch changes the wording from "Show" to "Set".
2003-11-30Make PQescapeBytea and byteaout consistent with each other, andJoe Conway
octal escape all octets outside the range 0x20 to 0x7e. This fixes the problem pointed out by Sergey Yatskevich here: http://archives.postgresql.org/pgsql-bugs/2003-11/msg00140.php
2003-11-30Bump all version numbers and version stamps mentioned in RELEASE_CHANGES.Bruce Momjian
2003-11-30Reorder win32/bcc makefile mentions of thread.c for sanity.Bruce Momjian
2003-11-30Add thread.c to Borland CC build.Bruce Momjian
2003-11-29make sure the $Id tags are converted to $PostgreSQL as well ...PostgreSQL Daemon
2003-11-29Put out a more useful version indication in the welcome banner for aTom Lane
standalone backend --- the CVS revision number of postgres.c is not real useful to anyone.