OSDN Git Service

pg-rex/syncrep.git
20 years agoSome editorializing on the Linux memory overcommit docs, from Neil Conway.
Tom Lane [Sun, 16 Nov 2003 03:38:34 +0000 (03:38 +0000)]
Some editorializing on the Linux memory overcommit docs, from Neil Conway.

20 years agoMore release-notes copy editing, from Neil Conway.
Tom Lane [Sun, 16 Nov 2003 03:23:48 +0000 (03:23 +0000)]
More release-notes copy editing, from Neil Conway.

20 years agoA little bit more copy-editing...
Tom Lane [Sat, 15 Nov 2003 20:01:11 +0000 (20:01 +0000)]
A little bit more copy-editing...

20 years agoMinor wording improvement suggested by a comment in the interactive docs.
Tom Lane [Sat, 15 Nov 2003 19:46:31 +0000 (19:46 +0000)]
Minor wording improvement suggested by a comment in the interactive docs.

20 years agoMake creation of statistics collection socket more robust, by allowing it
Tom Lane [Sat, 15 Nov 2003 17:24:07 +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.

20 years agoCorrect names of people with funny characters.
Peter Eisentraut [Sat, 15 Nov 2003 01:16:37 +0000 (01:16 +0000)]
Correct names of people with funny characters.

20 years agoTranslation updates
Peter Eisentraut [Fri, 14 Nov 2003 23:59:12 +0000 (23:59 +0000)]
Translation updates

20 years agoRepair error in syntax documentation for CREATE TABLE: one does not put
Tom Lane [Fri, 14 Nov 2003 22:56:11 +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.

20 years agoTry to improve error handling for failures of backend subprocess.
Tom Lane [Fri, 14 Nov 2003 18:32:34 +0000 (18:32 +0000)]
Try to improve error handling for failures of backend subprocess.

20 years agoAdd CHECK_FOR_INTERRUPTS() to bootstrap command loop, so that control-C
Tom Lane [Fri, 14 Nov 2003 18:19:45 +0000 (18:19 +0000)]
Add CHECK_FOR_INTERRUPTS() to bootstrap command loop, so that control-C
can terminate the bootstrap run.

20 years agoAdd release date for 7.4.
Bruce Momjian [Fri, 14 Nov 2003 17:47:04 +0000 (17:47 +0000)]
Add release date for 7.4.

20 years agoAdd fflush() before popen() calls; avoids any possible problem with
Tom Lane [Fri, 14 Nov 2003 17:30:41 +0000 (17:30 +0000)]
Add fflush() before popen() calls; avoids any possible problem with
double or out-of-sequence output with child process.

20 years agoAdd missing logic to handle fixing permissions on an already-existing
Tom Lane [Fri, 14 Nov 2003 17:19:35 +0000 (17:19 +0000)]
Add missing logic to handle fixing permissions on an already-existing
data directory.  Also fix handling of error conditions associated with
data directory checking step (can't use a boolean to distinguish four
possible result states...)

20 years agoFix misstatement about the required value of SEMVMX. Given our current
Tom Lane [Fri, 14 Nov 2003 15:43:22 +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.

20 years agoAdded documentation for the new interface between the buffer manager
Jan Wieck [Fri, 14 Nov 2003 04:32:11 +0000 (04:32 +0000)]
Added documentation for the new interface between the buffer manager
and the cache replacement strategy as well as a description of the
ARC algorithm and the special tailoring of that done for PostgreSQL.

Jan

20 years agoUpdate HISTORY to match release.sgml.
Bruce Momjian [Fri, 14 Nov 2003 03:41:11 +0000 (03:41 +0000)]
Update HISTORY to match release.sgml.

20 years agoUpdate bug template to 7.4 --- that was the only one missing.
Bruce Momjian [Fri, 14 Nov 2003 03:30:54 +0000 (03:30 +0000)]
Update bug template to 7.4 --- that was the only one missing.

20 years agoTranslation updates
Peter Eisentraut [Fri, 14 Nov 2003 02:08:17 +0000 (02:08 +0000)]
Translation updates

20 years agoBeat some sense into the release notes.
Peter Eisentraut [Fri, 14 Nov 2003 02:06:42 +0000 (02:06 +0000)]
Beat some sense into the release notes.

20 years agoPreliminary code review for C version of initdb. Re-centralize handling
Tom Lane [Thu, 13 Nov 2003 23:46:31 +0000 (23:46 +0000)]
Preliminary code review for C version of initdb.  Re-centralize handling
of option switches for backend, fix handling of COPY from data files so
that we won't have the newline-after-\. issue back again, add back some
comments and printouts lost from the shell script, etc.  Still needs work
for error handling; in particular the shell version worked much more
nicely for the case of a postgres executable that fails on invocation.

20 years agoDunno why this got committed with DOS newlines, but fix that, and
Tom Lane [Thu, 13 Nov 2003 22:13:39 +0000 (22:13 +0000)]
Dunno why this got committed with DOS newlines, but fix that, and
add a header comment/copyright notice.

20 years agoSilly to copy sprompt.c from src/port when we're linking libpgport anyway.
Tom Lane [Thu, 13 Nov 2003 20:30:37 +0000 (20:30 +0000)]
Silly to copy sprompt.c from src/port when we're linking libpgport anyway.

20 years agopgindent new initdb.c from Tom.
Bruce Momjian [Thu, 13 Nov 2003 20:12:47 +0000 (20:12 +0000)]
pgindent new initdb.c from Tom.

20 years agoRegenerate text files.
Peter Eisentraut [Thu, 13 Nov 2003 18:03:11 +0000 (18:03 +0000)]
Regenerate text files.

20 years agoAdd final port reports.
Peter Eisentraut [Thu, 13 Nov 2003 18:01:45 +0000 (18:01 +0000)]
Add final port reports.

20 years agoAdd owner description to initdb C code.
Bruce Momjian [Thu, 13 Nov 2003 15:01:40 +0000 (15:01 +0000)]
Add owner description to initdb C code.

Andrew Dunstan

20 years ago2nd try for the ARC strategy.
Jan Wieck [Thu, 13 Nov 2003 14:57:15 +0000 (14:57 +0000)]
2nd try for the ARC strategy.

I added a couple more Assertions while tracking down the exact
cause of the former bug.

All 93 regression tests pass now.

Jan

20 years agoARC strategy backed out ... sorry
Jan Wieck [Thu, 13 Nov 2003 05:34:58 +0000 (05:34 +0000)]
ARC strategy backed out ... sorry

Jan

20 years agoUpdate for 7.4 release.
Bruce Momjian [Thu, 13 Nov 2003 04:23:03 +0000 (04:23 +0000)]
Update for 7.4 release.

20 years agoUpdate MSWIN FAQ
Bruce Momjian [Thu, 13 Nov 2003 03:53:00 +0000 (03:53 +0000)]
Update MSWIN FAQ

Christopher Kings-Lynne

20 years agoAdd to Win32 discussion.
Bruce Momjian [Thu, 13 Nov 2003 03:45:33 +0000 (03:45 +0000)]
Add to Win32 discussion.

20 years agoAdd fflush() calls so that I'm-about-to-do-this messages actually
Tom Lane [Thu, 13 Nov 2003 01:36:00 +0000 (01:36 +0000)]
Add fflush() calls so that I'm-about-to-do-this messages actually
come out before the action is done.

20 years agoFix lack of optreset.
Tom Lane [Thu, 13 Nov 2003 01:09:24 +0000 (01:09 +0000)]
Fix lack of optreset.

20 years agoReplacement of the buffer replacement strategy with an ARC
Jan Wieck [Thu, 13 Nov 2003 00:40:02 +0000 (00:40 +0000)]
Replacement of the buffer replacement strategy with an ARC
algorithm adopted for PostgreSQL.

Jan

20 years agoAcceptResult() was missing a case for PGRES_EMPTY_QUERY --- probably
Tom Lane [Wed, 12 Nov 2003 22:53:16 +0000 (22:53 +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.

20 years agoDocumentation cleanup
Peter Eisentraut [Wed, 12 Nov 2003 22:47:47 +0000 (22:47 +0000)]
Documentation cleanup

20 years agoCross-data-type comparisons are now indexable by btrees, pursuant to my
Tom Lane [Wed, 12 Nov 2003 21:15:59 +0000 (21:15 +0000)]
Cross-data-type comparisons are now indexable by btrees, pursuant to my
pghackers proposal of 8-Nov.  All the existing cross-type comparison
operators (int2/int4/int8 and float4/float8) have appropriate support.
The original proposal of storing the right-hand-side datatype as part of
the primary key for pg_amop and pg_amproc got modified a bit in the event;
it is easier to store zero as the 'default' case and only store a nonzero
when the operator is actually cross-type.  Along the way, remove the
long-since-defunct bigbox_ops operator class.

20 years agoHere's some improvements. I just ended up referring people to Jason's
Bruce Momjian [Wed, 12 Nov 2003 04:14:30 +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

20 years agoAdd:
Bruce Momjian [Wed, 12 Nov 2003 04:10:43 +0000 (04:10 +0000)]
Add:

> * Ignore temporary tables from other session when processing inheritance

20 years agoHere's a patch that adds some text mentioning that
Bruce Momjian [Wed, 12 Nov 2003 04:08:07 +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

20 years agoTypo fix in comment from David Wheeler
Bruce Momjian [Wed, 12 Nov 2003 03:27:26 +0000 (03:27 +0000)]
Typo fix in comment from David Wheeler

20 years agoUpdate:
Bruce Momjian [Wed, 12 Nov 2003 00:25:35 +0000 (00:25 +0000)]
Update:

> * Add free-behind capability for large sequential scans (fadvise)

20 years agoCleanup for recent .exe Win32 fix.
Bruce Momjian [Wed, 12 Nov 2003 00:04:10 +0000 (00:04 +0000)]
Cleanup for recent .exe Win32 fix.

20 years agoUpdate /port C header descriptions.
Bruce Momjian [Tue, 11 Nov 2003 23:52:45 +0000 (23:52 +0000)]
Update /port C header descriptions.

20 years agoAdd .exe to Win32 stat calls. Don't symlink postmaster on Win32.
Bruce Momjian [Tue, 11 Nov 2003 03:53:33 +0000 (03:53 +0000)]
Add .exe to Win32 stat calls.  Don't symlink postmaster on Win32.

20 years agoAdd system_views.sql to CVS.
Bruce Momjian [Tue, 11 Nov 2003 02:00:00 +0000 (02:00 +0000)]
Add system_views.sql to CVS.

20 years agoMove system_views.sql into backend/catalog, per Tom.
Bruce Momjian [Tue, 11 Nov 2003 01:58:23 +0000 (01:58 +0000)]
Move system_views.sql into backend/catalog, per Tom.

20 years ago* ioctlsocket_ret
Bruce Momjian [Tue, 11 Nov 2003 01:09:42 +0000 (01:09 +0000)]
* ioctlsocket_ret
        - is not initialized to 1 (at least in the WIN_32 code I started with!)

Claudio Natoli

20 years agoUpdated version of initdb with "rmdir/del" call on Win32.
Bruce Momjian [Mon, 10 Nov 2003 22:52:10 +0000 (22:52 +0000)]
Updated version of initdb with "rmdir/del" call on Win32.

Other cleanups as discussed.

20 years agoAdd C version of initdb, from Andrew Dunstan.
Bruce Momjian [Mon, 10 Nov 2003 22:51:16 +0000 (22:51 +0000)]
Add C version of initdb, from Andrew Dunstan.

This is his original version with a binary rmdir() we might need in the
future.

I will commit an update version with cleanups shortly.

20 years agoUpdate freenode mention.
Bruce Momjian [Mon, 10 Nov 2003 22:47:35 +0000 (22:47 +0000)]
Update freenode mention.

20 years agoUpdate release notes for polymorphic functions.
Bruce Momjian [Mon, 10 Nov 2003 22:27:00 +0000 (22:27 +0000)]
Update release notes for polymorphic functions.

20 years agoUpdate IRC to mention freenet instead of openprojects.
Bruce Momjian [Mon, 10 Nov 2003 21:56:08 +0000 (21:56 +0000)]
Update IRC to mention freenet instead of openprojects.

20 years agoRe-added forgotten cache.
Michael Meskes [Mon, 10 Nov 2003 20:28:30 +0000 (20:28 +0000)]
Re-added forgotten cache.

20 years agoRemove rcsid CVS header variable --- not used.
Bruce Momjian [Mon, 10 Nov 2003 19:40:46 +0000 (19:40 +0000)]
Remove rcsid CVS header variable --- not used.

20 years agoAdd operator strategy and comparison-value datatype fields to ScanKey.
Tom Lane [Sun, 9 Nov 2003 21:30:38 +0000 (21:30 +0000)]
Add operator strategy and comparison-value datatype fields to ScanKey.
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.

20 years agoAdd:
Bruce Momjian [Sun, 9 Nov 2003 04:23:50 +0000 (04:23 +0000)]
Add:

> * Have psql '\i ~/<tab><tab>' actually load files it displays from home dir

20 years agoI have attached a more comprehensive MSWIN FAQ patch. Basically, the
Bruce Momjian [Sun, 9 Nov 2003 03:47:51 +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

20 years agoAdd:
Bruce Momjian [Sun, 9 Nov 2003 03:41:25 +0000 (03:41 +0000)]
Add:

> * Have psql \dn show only visible schemas using current_schemas()

20 years agoFix typo on autovacuum readme.
Bruce Momjian [Sun, 9 Nov 2003 03:15:46 +0000 (03:15 +0000)]
Fix typo on autovacuum readme.

20 years agoAdd:
Bruce Momjian [Sun, 9 Nov 2003 00:41:14 +0000 (00:41 +0000)]
Add:

> * Use more reliable method for CREATE DATABASE to get a consistent copy of db
>

20 years agoAllow tab completion for ALTER TABLE dbname <tab><tab> to show new
Bruce Momjian [Sat, 8 Nov 2003 20:54:24 +0000 (20:54 +0000)]
Allow tab completion for ALTER TABLE dbname <tab><tab> to show new
RENAME TO option.

20 years agoCorrect misspellings of REFERENCES.
Tom Lane [Sat, 8 Nov 2003 20:43:52 +0000 (20:43 +0000)]
Correct misspellings of REFERENCES.

20 years agoRestore compatibility with Tcl 8.0.* --- from ljb.
Tom Lane [Sat, 8 Nov 2003 20:34:36 +0000 (20:34 +0000)]
Restore compatibility with Tcl 8.0.* --- from ljb.

20 years agoDon't need hack copy of system() anymore in OS X 10.3.
Tom Lane [Sat, 8 Nov 2003 20:14:51 +0000 (20:14 +0000)]
Don't need hack copy of system() anymore in OS X 10.3.

20 years agoMade sure an internal array is not treated as a user defined one.
Michael Meskes [Sat, 8 Nov 2003 19:46:27 +0000 (19:46 +0000)]
Made sure an internal array is not treated as a user defined one.

20 years agoFix process-status handling for OS X 10.3.
Tom Lane [Sat, 8 Nov 2003 19:07:24 +0000 (19:07 +0000)]
Fix process-status handling for OS X 10.3.

20 years agoAdjust file so psql help picks it up properly.
Peter Eisentraut [Sat, 8 Nov 2003 11:06:37 +0000 (11:06 +0000)]
Adjust file so psql help picks it up properly.

patch by Kris Jurka

20 years agoCause stats processes to detach from shared memory when started, so that
Tom Lane [Fri, 7 Nov 2003 21:55:50 +0000 (21:55 +0000)]
Cause stats processes to detach from shared memory when started, so that
they do not prevent the postmaster from deleting the shmem segment during
a post-backend-crash restart cycle.  Per recent discussion.

20 years agozero_damaged_pages must absolutely NOT be marked GUC_DISALLOW_IN_FILE,
Tom Lane [Fri, 7 Nov 2003 21:27:38 +0000 (21:27 +0000)]
zero_damaged_pages must absolutely NOT be marked GUC_DISALLOW_IN_FILE,
else it cannot be used to handle failures detected during WAL replay.
Fortunately this flag isn't actually enforced yet, but get it right.

20 years agoTypo fix.
Bruce Momjian [Fri, 7 Nov 2003 17:02:09 +0000 (17:02 +0000)]
Typo fix.

20 years agoAdd:
Bruce Momjian [Fri, 7 Nov 2003 15:31:14 +0000 (15:31 +0000)]
Add:
> * Allow CREATE TABLE foo (f1 INT CHECK (f1 > 0) CHECK (f1 < 10)) to work
>   by searching for non-conflicting constraint names, and prefix with table name

20 years agoMinor copy-editing.
Tom Lane [Thu, 6 Nov 2003 22:21:47 +0000 (22:21 +0000)]
Minor copy-editing.

20 years agoImplement isolation levels read uncommitted and repeatable read as acting
Peter Eisentraut [Thu, 6 Nov 2003 22:08:15 +0000 (22:08 +0000)]
Implement isolation levels read uncommitted and repeatable read as acting
like the next higher one.

20 years agoMake the detection of nsgmls more robust for funny shells.
Peter Eisentraut [Thu, 6 Nov 2003 10:30:42 +0000 (10:30 +0000)]
Make the detection of nsgmls more robust for funny shells.

20 years agoFix for this problem:
Tom Lane [Wed, 5 Nov 2003 22:00:46 +0000 (22:00 +0000)]
Fix for this problem:

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.

20 years agoAdded missing methods
Dave Cramer [Wed, 5 Nov 2003 11:57:53 +0000 (11:57 +0000)]
Added missing methods

20 years agoAdd -O to really trigger compiler bug.
Peter Eisentraut [Wed, 5 Nov 2003 07:42:31 +0000 (07:42 +0000)]
Add -O to really trigger compiler bug.

20 years agoCheck off UnixWare.
Peter Eisentraut [Wed, 5 Nov 2003 00:10:06 +0000 (00:10 +0000)]
Check off UnixWare.

20 years agoAdd detection of compiler bug.
Peter Eisentraut [Wed, 5 Nov 2003 00:09:08 +0000 (00:09 +0000)]
Add detection of compiler bug.

20 years agoMinor copy-editing.
Tom Lane [Wed, 5 Nov 2003 00:05:32 +0000 (00:05 +0000)]
Minor copy-editing.

20 years agoSome copy-editing for 7.4 release notes.
Tom Lane [Tue, 4 Nov 2003 20:54:13 +0000 (20:54 +0000)]
Some copy-editing for 7.4 release notes.

20 years agoGive the full syntax rules for subscripting and field selection in the
Tom Lane [Tue, 4 Nov 2003 19:18:15 +0000 (19:18 +0000)]
Give the full syntax rules for subscripting and field selection in the
proper place, namely the syntax discussion of value expressions.

20 years agoUpdate keywords table.
Peter Eisentraut [Tue, 4 Nov 2003 12:59:54 +0000 (12:59 +0000)]
Update keywords table.

20 years agoUpdate install-sh and mkinstalldirs from master source (Automake). They
Peter Eisentraut [Tue, 4 Nov 2003 10:59:58 +0000 (10:59 +0000)]
Update install-sh and mkinstalldirs from master source (Automake).  They
have included a few fixes over the years to make them more robust and
faster.

20 years agoAdd note to update config.guess and config.sub at the start of beta.
Peter Eisentraut [Tue, 4 Nov 2003 10:33:28 +0000 (10:33 +0000)]
Add note to update config.guess and config.sub at the start of beta.

20 years agoNew config.guess and config.sub from upstream.
Peter Eisentraut [Tue, 4 Nov 2003 10:31:33 +0000 (10:31 +0000)]
New config.guess and config.sub from upstream.

20 years agoRemove unused graphics files.
Peter Eisentraut [Tue, 4 Nov 2003 10:25:07 +0000 (10:25 +0000)]
Remove unused graphics files.

20 years agoAdd report about HP-UX 11.00.
Peter Eisentraut [Tue, 4 Nov 2003 10:08:54 +0000 (10:08 +0000)]
Add report about HP-UX 11.00.

20 years agoRandom copy-editing.
Peter Eisentraut [Tue, 4 Nov 2003 09:55:39 +0000 (09:55 +0000)]
Random copy-editing.

20 years agoImprove message wording for spinlocks-missing compilation error.
Peter Eisentraut [Tue, 4 Nov 2003 09:53:36 +0000 (09:53 +0000)]
Improve message wording for spinlocks-missing compilation error.

20 years agoCopy-editing.
Tom Lane [Tue, 4 Nov 2003 00:34:45 +0000 (00:34 +0000)]
Copy-editing.

20 years agopatch for rs.previous and test case as well as patch for allowing server and port...
Dave Cramer [Mon, 3 Nov 2003 15:28:26 +0000 (15:28 +0000)]
patch for rs.previous and test case as well as patch for allowing server and port to be specified in test cases

20 years agoaccept url and fk action fix from Kris Jurka
Dave Cramer [Mon, 3 Nov 2003 15:22:07 +0000 (15:22 +0000)]
accept url and fk action fix from Kris Jurka

20 years agoFixed potentially uninitialized memory bug in compatlib.
Michael Meskes [Mon, 3 Nov 2003 14:44:28 +0000 (14:44 +0000)]
Fixed potentially uninitialized memory bug in compatlib.

20 years agoTag HEAD as 7.5devel.
Tom Lane [Mon, 3 Nov 2003 14:42:08 +0000 (14:42 +0000)]
Tag HEAD as 7.5devel.

20 years agofix typo. (role_columns_grants -> role_column_grants)
Tatsuo Ishii [Mon, 3 Nov 2003 12:31:52 +0000 (12:31 +0000)]
fix typo. (role_columns_grants -> role_column_grants)

20 years agotag it Release Candidate 1, as previously discussed
PostgreSQL Daemon [Mon, 3 Nov 2003 05:27:18 +0000 (05:27 +0000)]
tag it Release Candidate 1, as previously discussed

20 years agoAdjust data types in some of the UNION tests to avoid potentially
Tom Lane [Sun, 2 Nov 2003 22:35:26 +0000 (22:35 +0000)]
Adjust data types in some of the UNION tests to avoid potentially
platform-dependent results, as per example from Larry Rosenman.

20 years agoProvide a way to run the parallel regression tests with a user-specified
Tom Lane [Sun, 2 Nov 2003 21:56:15 +0000 (21:56 +0000)]
Provide a way to run the parallel regression tests with a user-specified
limit on the number of simultaneous connections.  Andrew Dunstan, with
review by Tom Lane.