]> granicus.if.org Git - postgresql/log
postgresql
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.

21 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.

21 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

21 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.

21 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.

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

21 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

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

21 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.

21 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.

21 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.

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

21 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.

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

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

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

21 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.

21 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.

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

21 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.

21 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.

21 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.

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

21 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.

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

21 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.

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

21 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

21 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

21 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.

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

21 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)

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

21 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.

21 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.

21 years agoFix language.
Peter Eisentraut [Sun, 2 Nov 2003 12:59:54 +0000 (12:59 +0000)]
Fix language.

21 years agoMake spelling consistent.
Peter Eisentraut [Sun, 2 Nov 2003 12:59:28 +0000 (12:59 +0000)]
Make spelling consistent.

21 years agopg_dumpall doesn't use psql anymore.
Peter Eisentraut [Sun, 2 Nov 2003 12:58:39 +0000 (12:58 +0000)]
pg_dumpall doesn't use psql anymore.

21 years agoPut --describe-config in the right place.
Peter Eisentraut [Sun, 2 Nov 2003 12:58:11 +0000 (12:58 +0000)]
Put --describe-config in the right place.

21 years agoFix name in supported platforms list.
Peter Eisentraut [Sun, 2 Nov 2003 12:57:48 +0000 (12:57 +0000)]
Fix name in supported platforms list.

21 years agoComplete options help and put it in less random order.
Peter Eisentraut [Sun, 2 Nov 2003 12:55:24 +0000 (12:55 +0000)]
Complete options help and put it in less random order.

21 years agoCall domains "domains", not "derived types".
Peter Eisentraut [Sun, 2 Nov 2003 12:53:57 +0000 (12:53 +0000)]
Call domains "domains", not "derived types".

21 years agoUpdate ports list.
Peter Eisentraut [Sun, 2 Nov 2003 08:54:09 +0000 (08:54 +0000)]
Update ports list.

21 years agoUnset CFLAGS before reading template. This should be more robust.
Peter Eisentraut [Sat, 1 Nov 2003 20:48:51 +0000 (20:48 +0000)]
Unset CFLAGS before reading template.  This should be more robust.

When --enable-debug is used, then the default CFLAGS for non-GCC is just
-g without -O.

Backpatch enhancement of Autoconf inline test that detects problems with
the HP C compiler.

21 years agoFix CFLAGS logic.
Peter Eisentraut [Sat, 1 Nov 2003 20:45:30 +0000 (20:45 +0000)]
Fix CFLAGS logic.

21 years agoMore whitespace fixes. Do people write the expected files by hand?
Peter Eisentraut [Sat, 1 Nov 2003 03:18:20 +0000 (03:18 +0000)]
More whitespace fixes.  Do people write the expected files by hand?

21 years agoFix hidden whitespace differences between expected and result files.
Peter Eisentraut [Sat, 1 Nov 2003 03:07:07 +0000 (03:07 +0000)]
Fix hidden whitespace differences between expected and result files.

21 years agoSpell checking, consistent terminology.
Peter Eisentraut [Sat, 1 Nov 2003 01:56:29 +0000 (01:56 +0000)]
Spell checking, consistent terminology.

21 years agoUpdate future-tense comments in README to present tense. Noted by
Tom Lane [Fri, 31 Oct 2003 22:48:08 +0000 (22:48 +0000)]
Update future-tense comments in README to present tense.  Noted by
Neil Conway.

21 years agoRewrite GiST documentation into something actually useful.
Tom Lane [Fri, 31 Oct 2003 22:41:21 +0000 (22:41 +0000)]
Rewrite GiST documentation into something actually useful.

Christopher Kings-Lynne

21 years agoFix broken markup.
Tom Lane [Fri, 31 Oct 2003 22:22:10 +0000 (22:22 +0000)]
Fix broken markup.

21 years agoTranslation update
Peter Eisentraut [Fri, 31 Oct 2003 22:14:15 +0000 (22:14 +0000)]
Translation update

21 years agoWhen a superuser does GRANT or REVOKE on an object he doesn't own,
Tom Lane [Fri, 31 Oct 2003 20:00:49 +0000 (20:00 +0000)]
When a superuser does GRANT or REVOKE on an object he doesn't own,
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.

21 years agonew protocol, faster startup.
Bruce Momjian [Fri, 31 Oct 2003 19:51:14 +0000 (19:51 +0000)]
new protocol, faster startup.

21 years agoUpdate for polymorphic functions, needs more work.
Bruce Momjian [Fri, 31 Oct 2003 19:49:40 +0000 (19:49 +0000)]
Update for polymorphic functions, needs more work.

21 years agoMAC OS X => Mac OS X
Bruce Momjian [Fri, 31 Oct 2003 19:33:17 +0000 (19:33 +0000)]
MAC OS X => Mac OS X

21 years agoRelease updates suggested by Tom.
Bruce Momjian [Fri, 31 Oct 2003 19:24:17 +0000 (19:24 +0000)]
Release updates suggested by Tom.

21 years agoMinor cleanup of PQunescapeBytea(). Avoid unportable assumptions about
Tom Lane [Fri, 31 Oct 2003 17:43:10 +0000 (17:43 +0000)]
Minor cleanup of PQunescapeBytea().  Avoid unportable assumptions about
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.

21 years agoMoved the recently added test for foreign key disabled by rewrite
Jan Wieck [Fri, 31 Oct 2003 14:27:57 +0000 (14:27 +0000)]
Moved the recently added test for foreign key disabled by rewrite
rule into the rule.sql since it affects the latter if run in paralell.

Jan

21 years agoIf EOF is found inside a string/comment/etc. stop parsing.
Michael Meskes [Fri, 31 Oct 2003 14:10:41 +0000 (14:10 +0000)]
If EOF is found inside a string/comment/etc. stop parsing.

21 years agoRemove <note> take, use another paragraph for description.
Bruce Momjian [Fri, 31 Oct 2003 04:44:25 +0000 (04:44 +0000)]
Remove <note> take, use another paragraph for description.

21 years agoUpdate HISTORY.
Bruce Momjian [Fri, 31 Oct 2003 04:32:36 +0000 (04:32 +0000)]
Update HISTORY.

21 years agoUpdate with more comments.
Bruce Momjian [Fri, 31 Oct 2003 04:30:22 +0000 (04:30 +0000)]
Update with more comments.

21 years agoFix for possible referential integrity violation when a qualified ON INSERT
Jan Wieck [Fri, 31 Oct 2003 03:58:21 +0000 (03:58 +0000)]
Fix for possible referential integrity violation when a qualified ON INSERT
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

21 years agoSmall fix to Christopher's recent improvements --- underscore is not
Tom Lane [Fri, 31 Oct 2003 03:58:15 +0000 (03:58 +0000)]
Small fix to Christopher's recent improvements --- underscore is not
a special character in regexes, but it is for LIKE, so NOT LIKE 'pg_%'
is incorrect.  Need NOT LIKE 'pg\_%'.

21 years agoUse Tcl ByteArray objects to avoid unwanted character set translation
Tom Lane [Fri, 31 Oct 2003 00:18:55 +0000 (00:18 +0000)]
Use Tcl ByteArray objects to avoid unwanted character set translation
in libpgtcl's lo_read/lo_write commands.  Also, deal correctly with
failure return from lo_read().  ljb and Tom Lane.

21 years agoFurther work on tab completion code: arrange for system catalogs to be
Tom Lane [Thu, 30 Oct 2003 21:37:38 +0000 (21:37 +0000)]
Further work on tab completion code: arrange for system catalogs to be
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.

21 years agoFix markup by using <note> for comments.
Bruce Momjian [Thu, 30 Oct 2003 20:49:47 +0000 (20:49 +0000)]
Fix markup by using <note> for comments.

21 years agoMore SGML cleanup.
Bruce Momjian [Thu, 30 Oct 2003 20:31:24 +0000 (20:31 +0000)]
More SGML cleanup.

21 years agoSGML cleanup.
Bruce Momjian [Thu, 30 Oct 2003 20:29:35 +0000 (20:29 +0000)]
SGML cleanup.

21 years agoUpdate SGML release notes with Peter's direction. Does not compile
Bruce Momjian [Thu, 30 Oct 2003 20:25:36 +0000 (20:25 +0000)]
Update SGML release notes with Peter's direction. Does not compile
because of section adjustments still needed.

21 years agoMark release note comments as new subsections rather than footnotes, per
Bruce Momjian [Thu, 30 Oct 2003 19:43:01 +0000 (19:43 +0000)]
Mark release note comments as new subsections rather than footnotes, per
Peter.

Remove "Changes" section and pull all sections below it up one level.

More comment additions.

21 years agoAllow the query for a plpgsql cursor to begin with '(' as well as 'SELECT'.
Tom Lane [Thu, 30 Oct 2003 17:18:55 +0000 (17:18 +0000)]
Allow the query for a plpgsql cursor to begin with '(' as well as 'SELECT'.
Per example from Kumar, 30-Oct-03.

21 years agouse the result set to set the fetchsize
Dave Cramer [Thu, 30 Oct 2003 12:18:56 +0000 (12:18 +0000)]
use the result set to set the fetchsize

21 years agoApplied patch by Dave Cramer to fix several bugs in compatlib.
Michael Meskes [Thu, 30 Oct 2003 10:19:30 +0000 (10:19 +0000)]
Applied patch by Dave Cramer to fix several bugs in compatlib.

21 years agoFix markup for new release footnotes.
Bruce Momjian [Thu, 30 Oct 2003 03:46:42 +0000 (03:46 +0000)]
Fix markup for new release footnotes.

21 years agoUpdate FAQ_DEV: elog => ereport.
Bruce Momjian [Thu, 30 Oct 2003 02:40:29 +0000 (02:40 +0000)]
Update FAQ_DEV:  elog => ereport.

21 years agoUpdate more release descriptions.
Bruce Momjian [Wed, 29 Oct 2003 23:28:59 +0000 (23:28 +0000)]
Update more release descriptions.

21 years agoAdd more footnote comments to the release notes.
Bruce Momjian [Wed, 29 Oct 2003 22:54:01 +0000 (22:54 +0000)]
Add more footnote comments to the release notes.

21 years agoFix some corner cases in ACL manipulation: don't foul up on an empty
Tom Lane [Wed, 29 Oct 2003 22:20:54 +0000 (22:20 +0000)]
Fix some corner cases in ACL manipulation: don't foul up on an empty
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.)

21 years agoAdd first release note detail item.
Bruce Momjian [Wed, 29 Oct 2003 20:38:19 +0000 (20:38 +0000)]
Add first release note detail item.

21 years agoUpdate for 7.4 --- prefer IN to EXISTS.
Bruce Momjian [Wed, 29 Oct 2003 20:20:12 +0000 (20:20 +0000)]
Update for 7.4 --- prefer IN to EXISTS.

21 years agoGive a useful error message if a RangeVar is encountered in an expression.
Tom Lane [Wed, 29 Oct 2003 18:10:15 +0000 (18:10 +0000)]
Give a useful error message if a RangeVar is encountered in an expression.
Per example from Ian Barwick, 28-Oct-03.

21 years agocompact_fsm_storage() does need to handle the case where a relation's
Tom Lane [Wed, 29 Oct 2003 17:36:57 +0000 (17:36 +0000)]
compact_fsm_storage() does need to handle the case where a relation's
FSM data has to be both moved down and compressed.  Per report from
Dror Matalon.

21 years agoUpdate for OSF 4.0 platform.
Bruce Momjian [Wed, 29 Oct 2003 13:42:55 +0000 (13:42 +0000)]
Update for OSF 4.0 platform.

21 years agoPatches from Oliver Jowett to fix CursorFetchTest, 7.4 now does not automatically...
Dave Cramer [Wed, 29 Oct 2003 02:39:10 +0000 (02:39 +0000)]
Patches from Oliver Jowett to fix CursorFetchTest, 7.4 now does not automatically delete cursors

21 years agoDon't include "schema." in the set of possible tab completions once
Tom Lane [Tue, 28 Oct 2003 23:35:52 +0000 (23:35 +0000)]
Don't include "schema." in the set of possible tab completions once
"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.

21 years agoInclude -lkrb5 when needed for shlibs depending on libpq. Per report
Tom Lane [Tue, 28 Oct 2003 21:55:58 +0000 (21:55 +0000)]
Include -lkrb5 when needed for shlibs depending on libpq.  Per report
from Johan Henselmans.

21 years agoDon't choke when the handler for a procedural language is located in
Tom Lane [Tue, 28 Oct 2003 21:05:29 +0000 (21:05 +0000)]
Don't choke when the handler for a procedural language is located in
the pg_catalog schema.  Per bug report some months back from Jochem van Dieten.

21 years agoGuard against Ant versions that print CLASSPATH before the version number
Tom Lane [Tue, 28 Oct 2003 20:26:47 +0000 (20:26 +0000)]
Guard against Ant versions that print CLASSPATH before the version number
in -version output.  Per report from Johann Uhrmann.

21 years agoAdjust wording to avoid giving the impression that schema USAGE
Tom Lane [Tue, 28 Oct 2003 20:18:09 +0000 (20:18 +0000)]
Adjust wording to avoid giving the impression that schema USAGE
privilege hides system catalog entries.

21 years agoAdd --describe-config to top of postgres manual page.
Bruce Momjian [Tue, 28 Oct 2003 19:39:18 +0000 (19:39 +0000)]
Add --describe-config to top of postgres manual page.

21 years agoDocument --describe-config.
Bruce Momjian [Tue, 28 Oct 2003 15:01:27 +0000 (15:01 +0000)]
Document --describe-config.

21 years agoChange Solaris tests to test for SHM_SHARE_MMU, per Tom.
Bruce Momjian [Mon, 27 Oct 2003 18:30:07 +0000 (18:30 +0000)]
Change Solaris tests to test for SHM_SHARE_MMU, per Tom.