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