summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-30Backpatch Borland thread.c fix to 7.4.X.Bruce Momjian
2003-11-26Second try at fixing no-room-to-move-down PANIC in compact_fsm_storage.Tom Lane
Ward's report that it can still happen in RC2 forces me to realize that this is not a can't-happen condition after all, and that the compaction code had better cope rather than panicking.
2003-11-26Cast field-length variables used in printf to int, because sometimesPeter Eisentraut
they might be of a wider type.
2003-11-25Repair subselect.c's occasional assignment of the wrong vartypmod toTom Lane
Vars created to fill subplan args lists. This is an ancient error, going back at least to 7.0, but is more easily triggered in 7.4 than before because we no longer compare varlevelsup when deciding whether a Param slot can be re-used. Fixes bug reported by Klint Gore.
2003-11-25Band-aid solution for problems with SubPlans used in hash join clauses,Tom Lane
per report from Andrew Holm-Hansen. The difficulty arises from the fact that the planner allowed a Hash node's hashkeys to share substructure with the parent HashJoin node's hashclauses, plus some rather bizarre choices about who initializes what during executor startup. A cleaner but more invasive solution is to not store hashkeys separately in the plan tree at all, but let the HashJoin node deconstruct hashclauses during executor startup. I plan to fix it that way in HEAD.
2003-11-25Install all the headers files that the ones that are already installedPeter Eisentraut
depend on.
2003-11-24Overdue code review for ALTER SEQUENCE patch. Don't generate illegal NodeTom Lane
tree for CYCLE option; don't assume zeros are invalid values for sequence fields other than increment_by; don't reset cache_value when not told to; simplify code for testing whether to apply defaults.
2003-11-24Repair missed renamings of show_statement_stats and show_executor_stats.Tom Lane
2003-11-24Rename USE_THREADS to ENABLE_THREAD_SAFETY to avoid name clash with Perl.Peter Eisentraut
Fixes compliation failure with --enable-thread-safety --with-perl and Perl 5.6.1.
2003-11-19Fixed typo in create schema parsing.Michael Meskes
2003-11-16Fix datetime input parsing to accept YYYY-MONTHNAME-DD and related syntaxes,Tom Lane
which had been unintentionally broken by recent changes to tighten up the DateStyle rules for all-numeric date input. Add documentation and regression tests for this, too.
2003-11-16Translation update for last-minute changePeter Eisentraut
2003-11-15Second try at adjusting translations for last-minute changes.Peter Eisentraut
2003-11-15Make creation of statistics collection socket more robust, by allowing itTom Lane
to try additional addresses returned from getaddrinfo() if the first one fails at the bind() or connect() steps. Per yesterday's discussion.
2003-11-15Translation updatePeter Eisentraut
2003-11-15Adjust translations for CREATE TABLE reference page change.Peter Eisentraut
2003-11-15Translation updatesPeter Eisentraut
2003-11-14Translation updatesPeter Eisentraut
2003-11-13Regenerate text files.Peter Eisentraut
2003-11-13Update win32 include file on 7.4 branch.Bruce Momjian
2003-11-12AcceptResult() was missing a case for PGRES_EMPTY_QUERY --- probablyTom Lane
my fault. Adding it fixes bogus message display when reading a block comment at the end of a script file.
2003-11-12Commit the remaining parts of the array changes.Michael Meskes
2003-11-11Default ioctlsocket_ret to 1 in case Cygwin needs it for 7.4 --- alreadyBruce Momjian
in HEAD.
2003-11-11Fix thinko in reltime and tinterval operator classes that I added aTom Lane
couple months ago: the >= and > operators were swapped. Not worth forcing an initdb for this, but we should get it right in the release. Will be patched separately in HEAD.
2003-11-10Re-added forgotten cache.Michael Meskes
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-08Fix parsing of create index callMichael 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-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-05Add -O to really trigger compiler bug.Peter Eisentraut
2003-11-05Add detection of compiler bug.Peter Eisentraut
2003-11-04Improve wording of spinlocks-missing compilation error message.Peter Eisentraut
2003-11-04Make sure bug fix makes it into 7.4 as well. Thanks Peter.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