Dave Cramer [Fri, 12 Dec 2003 18:38:19 +0000 (18:38 +0000)]
cancel row updates sets values to null by Kris Jurka
Dave Cramer [Fri, 12 Dec 2003 18:37:06 +0000 (18:37 +0000)]
patch to indicate why test cases failed from Oliver Jowett
Dave Cramer [Fri, 12 Dec 2003 18:06:25 +0000 (18:06 +0000)]
fix casting pooled connections to PGStatement problem patch by JariP
Dave Cramer [Fri, 12 Dec 2003 17:59:08 +0000 (17:59 +0000)]
patch to build under jdk1.1 from Richard Scranton
Dave Cramer [Fri, 12 Dec 2003 00:27:41 +0000 (00:27 +0000)]
binary stream patch by Kris Jurka fixes empty stream failure
Dave Cramer [Fri, 12 Dec 2003 00:24:13 +0000 (00:24 +0000)]
metadata encoding patch from Kris Jurka
Peter Eisentraut [Thu, 11 Dec 2003 19:57:24 +0000 (19:57 +0000)]
Fix instructions how to shut down postmaster.
Dave Cramer [Thu, 11 Dec 2003 19:25:08 +0000 (19:25 +0000)]
patch for unique foreign keys and test case from Kris Jurka
Dave Cramer [Thu, 11 Dec 2003 03:59:37 +0000 (03:59 +0000)]
patch to make PSQLState serializable, and a test case for it
added a test case for getLastOID
Dave Cramer [Wed, 10 Dec 2003 18:25:11 +0000 (18:25 +0000)]
incremented the build number to 210
Tom Lane [Tue, 9 Dec 2003 01:56:41 +0000 (01:56 +0000)]
query_tree_mutator should copy RangeTblEntry nodes even when it's not
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.
Tom Lane [Mon, 8 Dec 2003 21:54:05 +0000 (21:54 +0000)]
Minor autovacuum fixes from Matthew O'Connor.
Tom Lane [Mon, 8 Dec 2003 21:51:37 +0000 (21:51 +0000)]
Add fflush() before sleeping, per Matthew O'Connor.
Tom Lane [Mon, 8 Dec 2003 18:20:10 +0000 (18:20 +0000)]
Whole-row references were broken for subqueries and functions, because
attr_needed/attr_widths optimization failed to allow for Vars with attno
zero in this case. Per report from Tatsuo Ishii.
Tom Lane [Sun, 7 Dec 2003 19:56:07 +0000 (19:56 +0000)]
Replace unportable and overflow-prone use of 'long long' with safer
'double' arithmetic, per recent discussion.
Tom Lane [Sun, 7 Dec 2003 19:43:13 +0000 (19:43 +0000)]
Remove test on c.relkind from check_constraints view; unnecessary and
prevents view from showing constraints on domains. This addresses the
other half of Claus Colloseus' bug report.
Peter Eisentraut [Sun, 7 Dec 2003 10:18:50 +0000 (10:18 +0000)]
Fix typmod interpretation for bit types. (It was erroneously assumed that
for bit(x), the typmod stores x+4, like for the character types.)
Joe Conway [Sun, 7 Dec 2003 04:12:50 +0000 (04:12 +0000)]
Repair indexed bytea like operations, and related selectivity
functionality. Per bug report by Alvar Freude:
http://archives.postgresql.org/pgsql-bugs/2003-12/msg00022.php
Dave Cramer [Fri, 5 Dec 2003 21:22:03 +0000 (21:22 +0000)]
backpatch for driver threadsafe problems
Dave Cramer [Fri, 5 Dec 2003 21:06:12 +0000 (21:06 +0000)]
patch from Kris Jurka to allow the server end port to be specified when running
regression tests, this is a backpatch to 7.4
Tom Lane [Fri, 5 Dec 2003 15:50:39 +0000 (15:50 +0000)]
Guard against bug in Solaris' bsearch(), per Michael Wildpaner.
Teodor Sigaev [Fri, 5 Dec 2003 15:38:30 +0000 (15:38 +0000)]
One more fix confusion
Teodor Sigaev [Fri, 5 Dec 2003 14:28:21 +0000 (14:28 +0000)]
Avoid confusion start_parse_str function with tsearch V1
Tom Lane [Wed, 3 Dec 2003 17:45:38 +0000 (17:45 +0000)]
Planner failed to be smart about binary-compatible expressions in pathkeys
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 [Wed, 3 Dec 2003 16:06:59 +0000 (16:06 +0000)]
Fix for word with several infinitives
Tom Lane [Tue, 2 Dec 2003 16:14:38 +0000 (16:14 +0000)]
Update release notes for 7.3.5.
Bruce Momjian [Tue, 2 Dec 2003 12:40:08 +0000 (12:40 +0000)]
The attached patch enables contrib/cube to build cleanly under Cygwin
(again). Please consider this patch for the 7.4.1 branch (if there
will be one) too.
Jason Tishler
Bruce Momjian [Mon, 1 Dec 2003 23:19:54 +0000 (23:19 +0000)]
I've run across a pretty serious problem with pg_autovacuum.
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 [Mon, 1 Dec 2003 23:14:29 +0000 (23:14 +0000)]
I noticed in the 7.4 release that in contrib/pg_autovacuum, args->logfile is
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
Tom Lane [Mon, 1 Dec 2003 20:35:04 +0000 (20:35 +0000)]
Minor wordsmithing in datetime docs to try to address gripes raised by
cnliou.
Tom Lane [Mon, 1 Dec 2003 18:50:29 +0000 (18:50 +0000)]
netmask() and hostmask() functions should return maximum-length masklen,
per gripe from Joe Sunday.
Tom Lane [Mon, 1 Dec 2003 17:58:38 +0000 (17:58 +0000)]
Fix typos noted by Halley Pacheco de Oliveira.
Tom Lane [Mon, 1 Dec 2003 16:53:30 +0000 (16:53 +0000)]
Force zero_damaged_pages to be effectively ON during recovery from WAL,
since there is no need to worry about damaged pages when we are going to
overwrite them anyway from the WAL. Per recent discussion.
Joe Conway [Sun, 30 Nov 2003 20:53:43 +0000 (20:53 +0000)]
Make PQescapeBytea and byteaout consistent with each other, and
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
Bruce Momjian [Sun, 30 Nov 2003 06:02:40 +0000 (06:02 +0000)]
Backpatch Borland thread.c fix to 7.4.X.
Bruce Momjian [Sun, 30 Nov 2003 03:41:56 +0000 (03:41 +0000)]
Update TODO 7.4 mention.
Bruce Momjian [Fri, 28 Nov 2003 20:20:45 +0000 (20:20 +0000)]
Update Russian FAQ, both branches.
Viktor Vislobokov
Joe Conway [Fri, 28 Nov 2003 05:03:48 +0000 (05:03 +0000)]
Fix regression in dblink_disconnect() reported by Eduardo Stern:
persistent_conn was left dangling after a disconnect in the
unnamed connection case, causing a subsequent disconnect to
crash the backend.
Teodor Sigaev [Thu, 27 Nov 2003 16:08:41 +0000 (16:08 +0000)]
Fixes about word with several infiniteve
Tom Lane [Wed, 26 Nov 2003 20:50:26 +0000 (20:50 +0000)]
Second try at fixing no-room-to-move-down PANIC in compact_fsm_storage.
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.
Joe Conway [Wed, 26 Nov 2003 20:44:13 +0000 (20:44 +0000)]
Added missing SPI_finish() calls to get_tuple_of_interest(). Fixes bug
reported by Andrea Grassi.
Peter Eisentraut [Wed, 26 Nov 2003 15:57:22 +0000 (15:57 +0000)]
Add NetBSD Sparc as supported.
Peter Eisentraut [Wed, 26 Nov 2003 15:54:59 +0000 (15:54 +0000)]
Cast field-length variables used in printf to int, because sometimes
they might be of a wider type.
Tatsuo Ishii [Wed, 26 Nov 2003 06:48:53 +0000 (06:48 +0000)]
Patches from Yutaka Tanida. Create primary key indexes after data
insertion to reduce initialization time.
Tom Lane [Tue, 25 Nov 2003 23:59:32 +0000 (23:59 +0000)]
Repair subselect.c's occasional assignment of the wrong vartypmod to
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.
Peter Eisentraut [Tue, 25 Nov 2003 19:27:04 +0000 (19:27 +0000)]
Fix language.
Tom Lane [Tue, 25 Nov 2003 19:17:16 +0000 (19:17 +0000)]
Band-aid solution for problems with SubPlans used in hash join clauses,
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.
Peter Eisentraut [Tue, 25 Nov 2003 19:10:15 +0000 (19:10 +0000)]
Install all the headers files that the ones that are already installed
depend on.
Teodor Sigaev [Tue, 25 Nov 2003 13:40:16 +0000 (13:40 +0000)]
Ignore too long lexeme
Tom Lane [Mon, 24 Nov 2003 16:54:15 +0000 (16:54 +0000)]
Overdue code review for ALTER SEQUENCE patch. Don't generate illegal Node
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.
Tom Lane [Mon, 24 Nov 2003 14:50:02 +0000 (14:50 +0000)]
Repair missed renamings of show_statement_stats and show_executor_stats.
Peter Eisentraut [Mon, 24 Nov 2003 13:11:27 +0000 (13:11 +0000)]
Rename USE_THREADS to ENABLE_THREAD_SAFETY to avoid name clash with Perl.
Fixes compliation failure with --enable-thread-safety --with-perl and Perl
5.6.1.
Michael Meskes [Wed, 19 Nov 2003 13:19:40 +0000 (13:19 +0000)]
Fixed typo in create schema parsing.
Bruce Momjian [Mon, 17 Nov 2003 04:52:03 +0000 (04:52 +0000)]
Change "IN/NOT IN" to "IN / NOT IN" for clarity, both branches.
PostgreSQL Daemon [Sun, 16 Nov 2003 21:33:50 +0000 (21:33 +0000)]
k, tag the release
Tom Lane [Sun, 16 Nov 2003 20:29:34 +0000 (20:29 +0000)]
Fix datetime input parsing to accept YYYY-MONTHNAME-DD and related syntaxes,
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.
Tom Lane [Sun, 16 Nov 2003 17:01:57 +0000 (17:01 +0000)]
Another try at fixing the Linux overcommit docs, per Andrew Dunstan.
Peter Eisentraut [Sun, 16 Nov 2003 08:59:21 +0000 (08:59 +0000)]
Translation update for last-minute change
Bruce Momjian [Sun, 16 Nov 2003 04:51:23 +0000 (04:51 +0000)]
Update FAQ for 7.4 branch.
Bruce Momjian [Sun, 16 Nov 2003 04:49:51 +0000 (04:49 +0000)]
Update HISTORY
Tom Lane [Sun, 16 Nov 2003 03:58:16 +0000 (03:58 +0000)]
Update info about SysV configuration procedures on OS X 10.3.
Tom Lane [Sun, 16 Nov 2003 03:38:41 +0000 (03:38 +0000)]
Some editorializing on the Linux memory overcommit docs, from Neil Conway.
Tom Lane [Sun, 16 Nov 2003 03:23:57 +0000 (03:23 +0000)]
More release-notes copy editing, from Neil Conway.
Peter Eisentraut [Sat, 15 Nov 2003 23:04:13 +0000 (23:04 +0000)]
Second try at adjusting translations for last-minute changes.
Tom Lane [Sat, 15 Nov 2003 20:01:20 +0000 (20:01 +0000)]
A little bit more copy-editing...
Tom Lane [Sat, 15 Nov 2003 19:46:36 +0000 (19:46 +0000)]
Minor wording improvement suggested by a comment in the interactive docs.
Tom Lane [Sat, 15 Nov 2003 17:24:19 +0000 (17:24 +0000)]
Make creation of statistics collection socket more robust, by allowing it
to try additional addresses returned from getaddrinfo() if the first one
fails at the bind() or connect() steps. Per yesterday's discussion.
Peter Eisentraut [Sat, 15 Nov 2003 17:20:40 +0000 (17:20 +0000)]
Punctuation improvements
Peter Eisentraut [Sat, 15 Nov 2003 17:15:38 +0000 (17:15 +0000)]
Translation update
Peter Eisentraut [Sat, 15 Nov 2003 12:54:28 +0000 (12:54 +0000)]
Adjust translations for CREATE TABLE reference page change.
Peter Eisentraut [Sat, 15 Nov 2003 10:20:02 +0000 (10:20 +0000)]
Translation updates
Peter Eisentraut [Sat, 15 Nov 2003 01:16:53 +0000 (01:16 +0000)]
Correct names of people with funny characters.
Tom Lane [Fri, 14 Nov 2003 22:56:25 +0000 (22:56 +0000)]
Repair error in syntax documentation for CREATE TABLE: one does not put
a comma between multiple column_constraint's for a single column.
Per report from Tomislaw Kitynski.
Bruce Momjian [Fri, 14 Nov 2003 18:07:48 +0000 (18:07 +0000)]
Update FAQ_MSWIN for 7.4 branch.
Bruce Momjian [Fri, 14 Nov 2003 17:54:16 +0000 (17:54 +0000)]
Update FAQ and TODO for 7.4.
Bruce Momjian [Fri, 14 Nov 2003 17:47:49 +0000 (17:47 +0000)]
Add release date for 7.4.
Tom Lane [Fri, 14 Nov 2003 15:43:34 +0000 (15:43 +0000)]
Fix misstatement about the required value of SEMVMX. Given our current
usage of PGSemaMagic, the minimum required value is actually 537, but
say 1000 just to use a round number. 255 is *not* good enough.
Bruce Momjian [Fri, 14 Nov 2003 03:41:25 +0000 (03:41 +0000)]
Update HISTORY to match release.sgml.
Bruce Momjian [Fri, 14 Nov 2003 03:31:05 +0000 (03:31 +0000)]
Update bug template to 7.4 --- that was the only one missing.
Peter Eisentraut [Fri, 14 Nov 2003 02:05:04 +0000 (02:05 +0000)]
Translation updates
Peter Eisentraut [Fri, 14 Nov 2003 02:04:05 +0000 (02:04 +0000)]
Beat some sense into the release notes.
Peter Eisentraut [Thu, 13 Nov 2003 17:59:35 +0000 (17:59 +0000)]
Regenerate text files.
Peter Eisentraut [Thu, 13 Nov 2003 17:58:35 +0000 (17:58 +0000)]
Add final port reports.
Bruce Momjian [Thu, 13 Nov 2003 05:06:56 +0000 (05:06 +0000)]
Update win32 include file on 7.4 branch.
Tom Lane [Wed, 12 Nov 2003 22:55:42 +0000 (22:55 +0000)]
AcceptResult() was missing a case for PGRES_EMPTY_QUERY --- probably
my fault. Adding it fixes bogus message display when reading a block
comment at the end of a script file.
Peter Eisentraut [Wed, 12 Nov 2003 20:05:15 +0000 (20:05 +0000)]
Documentation cleanup
Michael Meskes [Wed, 12 Nov 2003 08:42:57 +0000 (08:42 +0000)]
Commit the remaining parts of the array changes.
Bruce Momjian [Wed, 12 Nov 2003 04:14:34 +0000 (04:14 +0000)]
Here's some improvements. I just ended up referring people to Jason's
website for install as service, because it's a quite a long and complex
process.
Christopher Kings-Lynne
Bruce Momjian [Wed, 12 Nov 2003 04:08:14 +0000 (04:08 +0000)]
Here's a patch that adds some text mentioning that
RESTRICT is not deferrable to the create table reference
page.
Stephan Szabo
Bruce Momjian [Wed, 12 Nov 2003 03:28:45 +0000 (03:28 +0000)]
Typo fix in comment from David Wheeler
Bruce Momjian [Tue, 11 Nov 2003 21:37:35 +0000 (21:37 +0000)]
Default ioctlsocket_ret to 1 in case Cygwin needs it for 7.4 --- already
in HEAD.
Tom Lane [Tue, 11 Nov 2003 21:23:26 +0000 (21:23 +0000)]
Fix thinko in reltime and tinterval operator classes that I added a
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.
Michael Meskes [Mon, 10 Nov 2003 20:28:06 +0000 (20:28 +0000)]
Re-added forgotten cache.
PostgreSQL Daemon [Mon, 10 Nov 2003 05:56:23 +0000 (05:56 +0000)]
autoconf
PostgreSQL Daemon [Mon, 10 Nov 2003 05:47:06 +0000 (05:47 +0000)]
make sure we are tag'd for RC2
Bruce Momjian [Sun, 9 Nov 2003 03:47:59 +0000 (03:47 +0000)]
I have attached a more comprehensive MSWIN FAQ patch. Basically, the
instructions were way out of date and incorrect. Installing Postgres
from Cygwin is easier these days than the FAQ would imply.
This patch already includes Andrew's previous patch.
Christopher Kings-Lynne
Bruce Momjian [Sun, 9 Nov 2003 03:17:37 +0000 (03:17 +0000)]
Fix typo on autovacuum readme.
Bruce Momjian [Sat, 8 Nov 2003 20:54:37 +0000 (20:54 +0000)]
Allow tab completion for ALTER TABLE dbname <tab><tab> to show new
RENAME TO option.
Tom Lane [Sat, 8 Nov 2003 20:43:57 +0000 (20:43 +0000)]
Correct misspellings of REFERENCES.
Tom Lane [Sat, 8 Nov 2003 20:34:42 +0000 (20:34 +0000)]
Restore compatibility with Tcl 8.0.* --- from ljb.