Commit Graph

16407 Commits

Author SHA1 Message Date
Tom Lane 8545482947 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.
2003-10-31 20:00:49 +00:00
Bruce Momjian 19554ed487 new protocol, faster startup. 2003-10-31 19:51:14 +00:00
Bruce Momjian df1bb47dc4 Update for polymorphic functions, needs more work. 2003-10-31 19:49:40 +00:00
Bruce Momjian 12f2525b0d MAC OS X => Mac OS X 2003-10-31 19:33:17 +00:00
Bruce Momjian d908c8e238 Release updates suggested by Tom. 2003-10-31 19:24:17 +00:00
Tom Lane bcf4d35699 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.
2003-10-31 17:43:10 +00:00
Jan Wieck 774f57038a 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
2003-10-31 14:27:57 +00:00
Michael Meskes e6152300f1 If EOF is found inside a string/comment/etc. stop parsing. 2003-10-31 14:10:41 +00:00
Bruce Momjian ef1b846daf Remove <note> take, use another paragraph for description. 2003-10-31 04:44:25 +00:00
Bruce Momjian 88a7576897 Update HISTORY. 2003-10-31 04:32:36 +00:00
Bruce Momjian d6ad5375cb Update with more comments. 2003-10-31 04:30:22 +00:00
Jan Wieck cc4baf4da3 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
2003-10-31 03:58:21 +00:00
Tom Lane e181001764 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\_%'.
2003-10-31 03:58:15 +00:00
Tom Lane ede9b68e03 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.
2003-10-31 00:18:55 +00:00
Tom Lane e84487f67a 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.
2003-10-30 21:37:38 +00:00
Bruce Momjian fcfbd434cc Fix markup by using <note> for comments. 2003-10-30 20:49:47 +00:00
Bruce Momjian d8df98d026 More SGML cleanup. 2003-10-30 20:31:24 +00:00
Bruce Momjian 39b752f6b7 SGML cleanup. 2003-10-30 20:29:35 +00:00
Bruce Momjian c0d92dc489 Update SGML release notes with Peter's direction. Does not compile
because of section adjustments still needed.
2003-10-30 20:25:36 +00:00
Bruce Momjian 216bc11020 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.
2003-10-30 19:43:01 +00:00
Tom Lane 3108b5db28 Allow the query for a plpgsql cursor to begin with '(' as well as 'SELECT'.
Per example from Kumar, 30-Oct-03.
2003-10-30 17:18:55 +00:00
Dave Cramer f4b4d7ce60 use the result set to set the fetchsize 2003-10-30 12:18:56 +00:00
Michael Meskes f590a5ea72 Applied patch by Dave Cramer to fix several bugs in compatlib. 2003-10-30 10:19:30 +00:00
Bruce Momjian d807bbe837 Fix markup for new release footnotes. 2003-10-30 03:46:42 +00:00
Bruce Momjian 60b198a768 Update FAQ_DEV: elog => ereport. 2003-10-30 02:40:29 +00:00
Bruce Momjian d46f9cd3bd Update more release descriptions. 2003-10-29 23:28:59 +00:00
Bruce Momjian 8478bbfd76 Add more footnote comments to the release notes. 2003-10-29 22:54:01 +00:00
Tom Lane f016c92ea4 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.)
2003-10-29 22:20:54 +00:00
Bruce Momjian 1a2be80ee7 Add first release note detail item. 2003-10-29 20:38:19 +00:00
Bruce Momjian a00d6b23eb Update for 7.4 --- prefer IN to EXISTS. 2003-10-29 20:20:12 +00:00
Tom Lane a35deb5400 Give a useful error message if a RangeVar is encountered in an expression.
Per example from Ian Barwick, 28-Oct-03.
2003-10-29 18:10:15 +00:00
Tom Lane abec4cbf1f 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.
2003-10-29 17:36:57 +00:00
Bruce Momjian d890c1d065 Update for OSF 4.0 platform. 2003-10-29 13:42:55 +00:00
Dave Cramer 7ecb6ede28 Patches from Oliver Jowett to fix CursorFetchTest, 7.4 now does not automatically delete cursors 2003-10-29 02:39:10 +00:00
Tom Lane 15c6764bda 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.
2003-10-28 23:35:52 +00:00
Tom Lane 979b537522 Include -lkrb5 when needed for shlibs depending on libpq. Per report
from Johan Henselmans.
2003-10-28 21:55:58 +00:00
Tom Lane e554e2b090 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.
2003-10-28 21:05:29 +00:00
Tom Lane 573f8c0116 Guard against Ant versions that print CLASSPATH before the version number
in -version output.  Per report from Johann Uhrmann.
2003-10-28 20:26:47 +00:00
Tom Lane 50cb974068 Adjust wording to avoid giving the impression that schema USAGE
privilege hides system catalog entries.
2003-10-28 20:18:09 +00:00
Bruce Momjian 53b714d2a7 Add --describe-config to top of postgres manual page. 2003-10-28 19:39:18 +00:00
Bruce Momjian 6228228009 Document --describe-config. 2003-10-28 15:01:27 +00:00
Bruce Momjian 700f7f4227 Change Solaris tests to test for SHM_SHARE_MMU, per Tom. 2003-10-27 18:30:07 +00:00
Bruce Momjian 5db5cbb838 Update Win32 clients. 2003-10-27 15:35:10 +00:00
Tom Lane f88c15991b Un-break Darwin port. 2003-10-27 07:42:34 +00:00
Bruce Momjian e781a1a95d Here is an update to the dbmirror README file.
-References to older versions of PostgreSQL have been removed(It no
longer
compiles against older versions)
-Added a link to PgPerl at GBorg.

Steven Singer
2003-10-27 02:52:45 +00:00
Bruce Momjian 03a2c3b586 Fix MOVE/FETCH wording. 2003-10-27 02:51:39 +00:00
Bruce Momjian 866c850cf5 Update intel solaris. 2003-10-26 14:31:09 +00:00
Bruce Momjian 8f67daded7 Improve indenting of port entries. 2003-10-26 13:28:46 +00:00
Bruce Momjian 98fa527942 Update Solaris 5.6. 2003-10-26 13:26:41 +00:00
Peter Eisentraut 06495a7324 Correct version numbers. 2003-10-26 11:14:39 +00:00