Commit Graph

9934 Commits

Author SHA1 Message Date
Tom Lane
f054f631a0 Stamp 9.0.7. 2012-02-23 17:56:26 -05:00
Tom Lane
09189cb605 Last-minute release note updates.
Security: CVE-2012-0866, CVE-2012-0867, CVE-2012-0868
2012-02-23 17:48:05 -05:00
Tom Lane
de323d534c Require execute permission on the trigger function for CREATE TRIGGER.
This check was overlooked when we added function execute permissions to the
system years ago.  For an ordinary trigger function it's not a big deal,
since trigger functions execute with the permissions of the table owner,
so they couldn't do anything the user issuing the CREATE TRIGGER couldn't
have done anyway.  However, if a trigger function is SECURITY DEFINER,
that is not the case.  The lack of checking would allow another user to
install it on his own table and then invoke it with, essentially, forged
input data; which the trigger function is unlikely to realize, so it might
do something undesirable, for instance insert false entries in an audit log
table.

Reported by Dinesh Kumar, patch by Robert Haas

Security: CVE-2012-0866
2012-02-23 15:39:07 -05:00
Tom Lane
c2d11d2d3e Draft release notes for 9.1.3, 9.0.7, 8.4.11, 8.3.18. 2012-02-22 18:12:39 -05:00
Magnus Hagander
2f66c1a2ff Fix wording, per Peter Geoghegan 2012-01-27 10:37:23 +01:00
Heikki Linnakangas
faa695580b Fix reference to "verify-ca" and "verify-full" in a note in the docs. 2011-12-16 15:07:02 +02:00
Bruce Momjian
ec218056fe In pg_upgrade, allow tables using regclass to be upgraded because we
preserve pg_class oids since PG 9.0.
2011-12-05 16:45:01 -05:00
Tom Lane
8af71fc56d Add some weasel wording about threaded usage of PGresults.
PGresults used to be read-only from the application's viewpoint, but now
that we've exposed various functions that allow modification of a PGresult,
that sweeping statement is no longer accurate.  Noted by Dmitriy Igrishin.
2011-12-02 11:34:20 -05:00
Tom Lane
1c635b03c1 Stamp 9.0.6. 2011-12-01 16:49:59 -05:00
Tom Lane
da1eacb8d2 Clarify documentation about SQL:2008 variant of LIMIT/OFFSET syntax.
The point that you need parentheses for non-constant expressions apparently
needs to be brought out a bit more clearly, per bug #6315.
2011-12-01 16:39:07 -05:00
Tom Lane
83c461e8fa Update information about configuring SysV IPC parameters on NetBSD.
Per Emmanuel Kasper, sysctl works fine as of NetBSD 5.0.
2011-11-30 20:55:10 -05:00
Tom Lane
33dcc3e09a Draft release notes for 9.1.2, 9.0.6, 8.4.10, 8.3.17, 8.2.23. 2011-11-30 19:34:57 -05:00
Tom Lane
d16ebde582 Remove erroneous claim about use of pg_locks.objid for advisory locks.
The correct information appears in the text, so just remove the statement
in the table, where it did not fit nicely anyway.  (Curiously, the correct
info has been there much longer than the erroneous table entry.)
Resolves problem noted by Daniele Varrazzo.

In HEAD and 9.1, also do a bit of wordsmithing on other text on the page.
2011-11-28 13:52:09 -05:00
Robert Haas
019d45e139 Correct documentation for trace_userlocks. 2011-11-10 18:01:10 -05:00
Peter Eisentraut
0ff319d20a -DLINUX_OOM_ADJ=0 should be in CPPFLAGS, not CFLAGS 2011-11-08 06:51:01 +02:00
Peter Eisentraut
d8bff79f1e Fix archive_command example
The given archive_command example didn't use %p or %f, which wouldn't
really work in practice.
2011-11-04 22:03:45 +02:00
Magnus Hagander
be5531c58d Document that multiple LDAP servers can be specified 2011-11-01 15:45:22 +01:00
Bruce Momjian
7ddd5bd7ce Modify up/home macro to match standard parameter list; fixes doc build. 2011-10-12 14:05:29 -04:00
Tom Lane
606990dcf8 Improve documentation of psql's \q command.
The documentation neglected to explain its behavior in a script file
(it only ends execution of the script, not psql as a whole), and failed
to mention the long form \quit either.
2011-10-12 14:00:07 -04:00
Bruce Momjian
55800b68de Add Up/Home link to the top of the HTML doc output.
Backpatch to 9.0.X and 9.1.X.
2011-10-12 11:48:02 -04:00
Robert Haas
9c09e7cf2d Fix typo in docs for libpq keepalives_count option.
Shigehiro Honda
2011-10-10 13:11:43 -04:00
Magnus Hagander
b07de20ae6 Fix typo 2011-09-24 14:35:08 +02:00
Magnus Hagander
05c4ef6295 Note that sslmode=require verifies the CA if root cert is present
This mode still exists for backwards compatibility, making
sslmode=require the same as sslmode=verify-ca when the file is present,
but not causing an error when it isn't.

Per bug 6189, reported by Srinivas Aji
2011-09-24 14:29:37 +02:00
Tom Lane
8522403c5c Stamp 9.0.5. 2011-09-22 18:00:48 -04:00
Tom Lane
94a4195583 Update release notes for 9.1.1, 9.0.5, 8.4.9, 8.3.16, 8.2.22.
Man, we fixed a lotta bugs since April.
2011-09-22 17:40:22 -04:00
Bruce Momjian
c3106a340f In pg_upgrade, disallow migration of 8.3 clusters using contrib/ltree
because its internal format was changed in 8.4.

Backpatch to 9.0 and 9.1.

Report by depesz, diagnosis by Tom.
2011-09-07 14:42:36 -04:00
Bruce Momjian
336059fc0a Revert documentation patch about NEW/OLD and triggers.
Backpatch to 9.0 and 9.1.

Patch from Josh Kupershmidt.
2011-09-07 09:24:02 -04:00
Bruce Momjian
a443343ccf Properly document the existance of OLD/NEW trigger pl/pgsql trigger
fields.

Backpatch to 9.0 and 9.1.

Report from Pavel Stehule, patch from Josh Kupershmidt
2011-09-06 22:54:19 -04:00
Bruce Momjian
665af1ac5a Fix plpgsql "PERFORM" markup.
Backpatch to 9.0 and 9.1.
2011-09-06 15:20:49 -04:00
Bruce Momjian
dcc728eef4 Document PERFORM limitation when using WITH queries.
Backpatch to 9.0 and 9.1.

Report from depstein@alliedtesting.com.
2011-09-06 13:42:00 -04:00
Tom Lane
0154332951 Update type-conversion documentation for long-ago changes.
This example wasn't updated when we changed the behavior of bpcharlen()
in 8.0, nor when we changed the number of parameters taken by the bpchar()
cast function in 7.3.  Per report from lsliang.
2011-09-06 12:15:06 -04:00
Bruce Momjian
38052a9dbc Properly document semphore requirements by accounting for worker
processes.

Backpatch to 9.1 and 9.0.

Submitted by Anton Yuzhaninov, confirmed by Robert Haas
2011-09-06 11:08:35 -04:00
Bruce Momjian
3de09ddac5 Document that contrib/pgtrgm only processes ASCII alphanumeric
characters.

Backpatch to 9.0 and 9.1.
2011-09-05 13:24:47 -04:00
Heikki Linnakangas
7ec0258091 Add recovery.conf to the index in the user manual.
Fujii Masao
2011-08-23 11:57:43 +03:00
Tom Lane
f60078232d Fix thinko in documentation of local_preload_libraries.
Somebody added a cross-reference to shared_preload_libraries, but wrote the
wrong variable name when they did it (and didn't bother to make it a link
either).

Spotted by Christoph Anton Mitterer.
2011-08-05 21:18:23 -04:00
Bruce Momjian
082f906334 Fix markup for recent wal_level clarification.
Backpatch to 9.1 and 9.0.
2011-08-04 15:02:03 -04:00
Bruce Momjian
072e6076d1 In documentaiton, clarify which commands have reduced WAL volume for
wal_level = minimum.

Backpatch to 9.1 and 9.0.
2011-08-04 12:06:54 -04:00
Robert Haas
bc9d2e7c4a Fix typo.
Noted by Josh Kupershmidt.
2011-07-27 11:21:05 -04:00
Robert Haas
6f8f9c2bdd Clarify which relkinds accept column comments.
Per discussion with Josh Kupershmidt.
2011-07-26 09:38:33 -04:00
Tom Lane
d1ca2a1ee9 Update examples for string-related functions.
In the example for decode(), show the bytea result in hex format,
since that's now the default.  Use an E'' string in the example for
quote_literal(), so that it works regardless of the
standard_conforming_strings setting.  On the functions-for-binary-strings
page, leave the examples as-is for readability, but add a note pointing out
that they are shown in escape format.  Per comments from Thom Brown.

Also, improve the description for encode() and decode() a tad.

Backpatch to 9.0, where bytea_output was introduced.
2011-07-07 19:34:28 -04:00
Magnus Hagander
1e7b52d753 Fix typo in sslmode documentation
Per bug #6089, noted by Sidney Cadot
2011-07-05 09:46:23 +02:00
Heikki Linnakangas
6bb8659ecf Clarify that you need ActiveState perl 5.8 *or later* to build on Windows. 2011-07-04 22:42:33 +03:00
Tom Lane
c7e84d5337 Fix omissions in documentation of the pg_roles view.
Somehow, column rolconfig got removed from the documentation of the
pg_roles view in the 9.0 cycle, although the column is actually still
there.  In 9.1, we'd also forgotten to document the rolreplication column.
Spotted by Sakamoto Masahiko.
2011-07-03 22:12:25 -04:00
Bruce Momjian
46242281b4 In pg_upgrade 9.0 and 9.1, document suggestion of using a non-default
port number to avoid unintended client connections.
2011-07-01 23:09:14 -04:00
Bruce Momjian
3a2906545f In pg_upgrade docs, clarify that link mode uses "hard" links.
Backpatch to 9.1 and 9.0.
2011-06-23 19:57:45 -04:00
Tom Lane
57ad59a2c1 Fix missed use of "cp -i" in an example, per Fujii Masao.
Also be more careful about markup: use & not just &.
2011-06-20 16:27:40 -04:00
Tom Lane
ae7fc61bc3 Don't use "cp -i" in the example WAL archive_command.
This is a dangerous example to provide because on machines with GNU cp,
it will silently do the wrong thing and risk archive corruption.  Worse,
during the 9.0 cycle somebody "improved" the discussion by removing the
warning that used to be there about that, and instead leaving the
impression that the command would work as desired on most Unixen.
It doesn't.  Try to rectify the damage by providing an example that is safe
most everywhere, and then noting that you can try cp -i if you want but
you'd better test that.

In back-patching this to all supported branches, I also added an example
command for Windows, which wasn't provided before 9.0.
2011-06-17 19:13:12 -04:00
Bruce Momjian
6122849416 In pg_upgrade, document that link mode has to have data directories on
the same file system, and that authentication should lock out normal
users.

Per suggestsion from #postgresql irc channel.

Backpatch to 9.0.
2011-06-14 18:14:56 -04:00
Alvaro Herrera
a2b354afb6 Fix grammatical mistake introduced by previous commit
Per note from Tom
2011-06-14 14:07:17 -04:00
Alvaro Herrera
247fd8105a Mention DROP TABLE as well as ALTER TABLE NO INHERIT
... when talking about how good they are in replacement of bulk DELETE
in partitioned setups.

The original wording was a bit confusing.

Per an observation from David Wheeler.
2011-06-14 11:20:52 -04:00