summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2003-11-11* ioctlsocket_retBruce Momjian
- is not initialized to 1 (at least in the WIN_32 code I started with!) Claudio Natoli
2003-11-10Updated version of initdb with "rmdir/del" call on Win32.Bruce Momjian
Other cleanups as discussed.
2003-11-10Add C version of initdb, from Andrew Dunstan.Bruce Momjian
This is his original version with a binary rmdir() we might need in the future. I will commit an update version with cleanups shortly.
2003-11-10Re-added forgotten cache.Michael Meskes
2003-11-10Remove rcsid CVS header variable --- not used.Bruce Momjian
2003-11-09Add operator strategy and comparison-value datatype fields to ScanKey.Tom Lane
Remove the 'strategy map' code, which was a large amount of mechanism that no longer had any use except reverse-mapping from procedure OID to strategy number. Passing the strategy number to the index AM in the first place is simpler and faster. This is a preliminary step in planned support for cross-datatype index operations. I'm committing it now since the ScanKeyEntryInitialize() API change touches quite a lot of files, and I want to commit those changes before the tree drifts under me.
2003-11-08Allow tab completion for ALTER TABLE dbname <tab><tab> to show newBruce Momjian
RENAME TO option.
2003-11-08Correct misspellings of REFERENCES.Tom Lane
2003-11-08Restore compatibility with Tcl 8.0.* --- from ljb.Tom Lane
2003-11-08Don't need hack copy of system() anymore in OS X 10.3.Tom Lane
2003-11-08Made sure an internal array is not treated as a user defined one.Michael Meskes
2003-11-08Fix process-status handling for OS X 10.3.Tom Lane
2003-11-07Cause stats processes to detach from shared memory when started, so thatTom Lane
they do not prevent the postmaster from deleting the shmem segment during a post-backend-crash restart cycle. Per recent discussion.
2003-11-07zero_damaged_pages must absolutely NOT be marked GUC_DISALLOW_IN_FILE,Tom Lane
else it cannot be used to handle failures detected during WAL replay. Fortunately this flag isn't actually enforced yet, but get it right.
2003-11-06Implement isolation levels read uncommitted and repeatable read as actingPeter Eisentraut
like the next higher one.
2003-11-05Fix for this problem:Tom Lane
regression=# select 1 from tenk1 ta cross join tenk1 tb for update; ERROR: no relation entry for relid 3 7.3 said "SELECT FOR UPDATE cannot be applied to a join", which was better but still wrong, considering that 7.2 took the query just fine. Fix by making transformForUpdate() ignore JOIN and other special RTE types, rather than trying to mark them FOR UPDATE. The actual error message now only appears if you explicitly name the join in FOR UPDATE.
2003-11-05Added missing methodsDave Cramer
2003-11-05Add -O to really trigger compiler bug.Peter Eisentraut
2003-11-05Add detection of compiler bug.Peter Eisentraut
2003-11-04Add note to update config.guess and config.sub at the start of beta.Peter Eisentraut
2003-11-04Improve message wording for spinlocks-missing compilation error.Peter Eisentraut
2003-11-03patch for rs.previous and test case as well as patch for allowing server and ↵Dave Cramer
port to be specified in test cases
2003-11-03accept url and fk action fix from Kris JurkaDave Cramer
2003-11-03Fixed potentially uninitialized memory bug in compatlib.Michael Meskes
2003-11-02Adjust data types in some of the UNION tests to avoid potentiallyTom Lane
platform-dependent results, as per example from Larry Rosenman.
2003-11-02Provide a way to run the parallel regression tests with a user-specifiedTom Lane
limit on the number of simultaneous connections. Andrew Dunstan, with review by Tom Lane.
2003-11-02Complete options help and put it in less random order.Peter Eisentraut
2003-11-01Fix CFLAGS logic.Peter Eisentraut
2003-11-01More whitespace fixes. Do people write the expected files by hand?Peter Eisentraut
2003-11-01Fix hidden whitespace differences between expected and result files.Peter Eisentraut
2003-10-31Update future-tense comments in README to present tense. Noted byTom Lane
Neil Conway.
2003-10-31Translation updatePeter Eisentraut
2003-10-31When a superuser does GRANT or REVOKE on an object he doesn't own,Tom Lane
process the command as though it were issued by the object owner. This prevents creating weird scenarios in which the same privileges may appear to flow from different sources, and ensures that a superuser can in fact revoke all privileges if he wants to. In particular this means that the regression tests work when run by a superuser other than the original bootstrap userid. Per report from Larry Rosenman.
2003-10-31Minor cleanup of PQunescapeBytea(). Avoid unportable assumptions aboutTom Lane
behavior of malloc and realloc when request size is 0. Fix escape sequence recognizer so that only valid 3-digit octal sequences are treated as escape sequences ... isdigit() is not a correct test.
2003-10-31Moved the recently added test for foreign key disabled by rewriteJan Wieck
rule into the rule.sql since it affects the latter if run in paralell. Jan
2003-10-31If EOF is found inside a string/comment/etc. stop parsing.Michael Meskes
2003-10-31Fix for possible referential integrity violation when a qualified ON INSERTJan Wieck
rule split the query into one INSERT and one UPDATE where the UPDATE then hit's the just created row without modifying the key fields again. In this special case, the new key slipped in totally unchecked. Jan
2003-10-31Small fix to Christopher's recent improvements --- underscore is notTom Lane
a special character in regexes, but it is for LIKE, so NOT LIKE 'pg_%' is incorrect. Need NOT LIKE 'pg\_%'.
2003-10-31Use Tcl ByteArray objects to avoid unwanted character set translationTom Lane
in libpgtcl's lo_read/lo_write commands. Also, deal correctly with failure return from lo_read(). ljb and Tom Lane.
2003-10-30Further work on tab completion code: arrange for system catalogs to beTom Lane
offered for completion only when the input-so-far is at least 'pg_'. This seems to be the best compromise behavior emerging from yesterday's discussion. While at it, refactor code to eliminate repetitive use of nearly identical queries, which was exceedingly tedious to maintain. Also const-ify code more thoroughly in hopes of moving constant data into text segment, and remove unnecessary length limit on queries.
2003-10-30Allow the query for a plpgsql cursor to begin with '(' as well as 'SELECT'.Tom Lane
Per example from Kumar, 30-Oct-03.
2003-10-30use the result set to set the fetchsizeDave Cramer
2003-10-30Applied patch by Dave Cramer to fix several bugs in compatlib.Michael Meskes
2003-10-29Fix some corner cases in ACL manipulation: don't foul up on an emptyTom Lane
ACL array, and force languages to be treated as owned by the bootstrap user ID. (pg_language should have a lanowner column, but until it does this will have to do as a workaround.)
2003-10-29Give a useful error message if a RangeVar is encountered in an expression.Tom Lane
Per example from Ian Barwick, 28-Oct-03.
2003-10-29compact_fsm_storage() does need to handle the case where a relation'sTom Lane
FSM data has to be both moved down and compressed. Per report from Dror Matalon.
2003-10-29Patches from Oliver Jowett to fix CursorFetchTest, 7.4 now does not ↵Dave Cramer
automatically delete cursors
2003-10-28Don't include "schema." in the set of possible tab completions onceTom Lane
"schema." has been typed. This allows readline to complete subsequent characters immediately if all relations in the target schema start with the same prefix. This actually worked before, but I unintentionally broke it a few days ago. Also, make completion schema-aware for GRANT, REVOKE, VACUUM.
2003-10-28Include -lkrb5 when needed for shlibs depending on libpq. Per reportTom Lane
from Johan Henselmans.
2003-10-28Don't choke when the handler for a procedural language is located inTom Lane
the pg_catalog schema. Per bug report some months back from Jochem van Dieten.