Commit Graph

9974 Commits

Author SHA1 Message Date
Peter Eisentraut
e64a48e699 doc: Fix syntax of a URL
Leading white space before the "http:" is apparently treated as a
relative link at least by some browsers.
2013-01-20 19:41:47 -05:00
Bruce Momjian
3111af5d1f Update copyrights for 2013
Fully update git head, and update back branches in ./COPYRIGHT and
legal.sgml files.
2013-01-01 17:14:59 -05:00
Peter Eisentraut
2373ce3ff8 doc: Correct description of LDAP authentication
Parts of the description had claimed incorrect pg_hba.conf option names
for LDAP authentication.

Albe Laurenz
2012-12-29 23:02:31 -05:00
Peter Eisentraut
60f95d0596 Fix typo 2012-12-18 01:22:41 -05:00
Peter Eisentraut
0dfbb64a2d Update iso.org page link
The old one is responding with 404.
2012-12-08 07:38:35 -05:00
Tom Lane
6fa51d4ba7 Stamp 9.0.11. 2012-12-03 15:22:30 -05:00
Tom Lane
bf274683b7 Update release notes for 9.2.2, 9.1.7, 9.0.11, 8.4.15, 8.3.22. 2012-12-03 15:10:17 -05:00
Tom Lane
17164ccdf8 Fix documentation of path(polygon) function.
Obviously, this returns type "path", but somebody made a copy-and-pasteo
long ago.

Dagfinn Ilmari Mannsåker
2012-12-03 11:09:04 -05:00
Peter Eisentraut
4ef4159817 doc: Fix broken links to DocBook wiki 2012-12-01 01:54:01 -05:00
Peter Eisentraut
dd1ca20dfe XSLT stylesheet: Add slash to directory name
Some versions of the XSLT stylesheets don't handle the missing slash
correctly (they concatenate directory and file name without the slash).
This might never have worked correctly.
2012-11-08 23:59:22 -05:00
Tom Lane
d997bd2c50 Document that TCP keepalive settings read as 0 on Unix-socket connections.
Per bug #7631 from Rob Johnson.  The code is operating as designed, but the
docs didn't explain it.
2012-10-31 14:26:47 -04:00
Simon Riggs
df35b7e33e Fix typo in previous commit 2012-10-17 09:21:29 +01:00
Simon Riggs
9818844197 Clarify hash index caution and copy to CREATE INDEX docs 2012-10-17 08:33:38 +01:00
Michael Meskes
bea34106a6 Removed sentence about not being able to retrieve more than one row at a time,
because it is not correct.
2012-10-05 17:06:07 +02:00
Tom Lane
0f6d0119f2 Fix permissions explanations in CREATE DATABASE and CREATE SCHEMA docs.
These reference pages still claimed that you have to be superuser to create
a database or schema owned by a different role.  That was true before 8.1,
but it was changed in commits aa1110624c and
f91370cd2f to allow assignment of ownership
to any role you are a member of.  However, at the time we were thinking of
that primarily as a change to the ALTER OWNER rules, so the need to touch
these two CREATE ref pages got missed.
2012-10-04 13:41:12 -04:00
Tom Lane
cf78eb4a2d Fix examples of how to use "su" while starting the server.
The syntax "su -c 'command' username" is not accepted by all versions of
su, for example not OpenBSD's.  More portable is "su username -c
'command'".  So change runtime.sgml to recommend that syntax.  Also,
add a -D switch to the OpenBSD example script, for consistency with other
examples.  Per Denis Lapshin and Gábor Hidvégi.
2012-09-25 13:53:05 -04:00
Tom Lane
22cdae947b Stamp 9.0.10. 2012-09-19 17:53:08 -04:00
Tom Lane
605172a722 Update release notes for 9.2.1, 9.1.6, 9.0.10, 8.4.14, 8.3.21. 2012-09-19 17:38:57 -04:00
Tom Lane
b853f33bcb Provide adequate documentation of the "table_name *" notation.
Somewhere along the line, somebody decided to remove all trace of this
notation from the documentation text.  It was still in the command syntax
synopses, or at least some of them, but with no indication what it meant.
This will not do, as evidenced by the confusion apparent in bug #7543;
even if the notation is now unnecessary, people will find it in legacy
SQL code and need to know what it does.
2012-09-17 14:59:42 -04:00
Kevin Grittner
17ddb7d65b Fix documentation reference to maximum allowed for autovacuum_freeze_max_age.
The documentation mentioned setting autovacuum_freeze_max_age to
"its maximum allowed value of a little less than two billion".
This led to a post asking about the exact maximum allowed value,
which is precisely two billion, not "a little less".

Based on question by Radovan Jablonovsky.  Backpatch to 8.3.
2012-09-16 12:21:12 -05:00
Robert Haas
4fb505dff4 Document how to prevent PostgreSQL itself from exhausting memory.
The existing documentation in Linux Memory Overcommit seemed to
assume that PostgreSQL itself could never be the problem, or at
least it didn't tell you what to do about it.

Per discussion with Craig Ringer and Kevin Grittner.
2012-08-30 14:23:33 -04:00
Tom Lane
3b849dbf41 Stamp 9.0.9. 2012-08-14 18:43:20 -04:00
Tom Lane
99f093b0f8 Update release notes for 9.1.5, 9.0.9, 8.4.13, 8.3.20. 2012-08-14 18:34:12 -04:00
Tom Lane
ac7e13d6fc Prevent access to external files/URLs via contrib/xml2's xslt_process().
libxslt offers the ability to read and write both files and URLs through
stylesheet commands, thus allowing unprivileged database users to both read
and write data with the privileges of the database server.  Disable that
through proper use of libxslt's security options.

Also, remove xslt_process()'s ability to fetch documents and stylesheets
from external files/URLs.  While this was a documented "feature", it was
long regarded as a terrible idea.  The fix for CVE-2012-3489 broke that
capability, and rather than expend effort on trying to fix it, we're just
going to summarily remove it.

While the ability to write as well as read makes this security hole
considerably worse than CVE-2012-3489, the problem is mitigated by the fact
that xslt_process() is not available unless contrib/xml2 is installed,
and the longstanding warnings about security risks from that should have
discouraged prudent DBAs from installing it in security-exposed databases.

Reported and fixed by Peter Eisentraut.

Security: CVE-2012-3488
2012-08-14 18:32:21 -04:00
Magnus Hagander
6f0c9bc4b9 Fix upper limit of superuser_reserved_connections, add limit for wal_senders
Should be limited to the maximum number of connections excluding
autovacuum workers, not including.

Add similar check for max_wal_senders, which should never be higher than
max_connections.
2012-08-10 14:54:36 +02:00
Bruce Momjian
85509b9c64 Now that the diskchecker.pl author has updated the download link on his
website, revert the separate link to the download git repository.

Backpatch from 9.0 to current.
2012-07-30 10:15:55 -04:00
Bruce Momjian
3262b196aa Update doc mention of diskchecker.pl to add URL for script; retain URL
for description.

Patch to 9.0 and later, where script is mentioned.
2012-07-26 21:25:25 -04:00
Magnus Hagander
5b214b4d90 Fix typo
gabrielle
2012-07-04 09:08:35 +02:00
Peter Eisentraut
10a376c772 Update copyright year in forgotten places
found by Stefan Kaltenbrunner
2012-06-19 21:35:35 +03:00
Magnus Hagander
a0bab30880 Add missing subtitle for compressed archive logs 2012-06-17 21:20:57 +08:00
Tom Lane
eab246d75f Stamp 9.0.8. 2012-05-31 19:09:35 -04:00
Tom Lane
e7e092f322 Update release notes for 9.1.4, 9.0.8, 8.4.12, 8.3.19. 2012-05-31 19:03:45 -04:00
Magnus Hagander
14c412da46 Remove link to ODBCng project from the docs.
This backatches Heikki's patch in 140a4fbf1a
to make sure the documentation on the website gets updated, since
we're regularly receiving complains about this link.
2012-05-03 13:02:31 +02:00
Tom Lane
8b67e3cbe0 Adjust various references to GEQO being non-deterministic.
It's still non-deterministic in some sense ... but given fixed settings
and identical planning problems, it will now always choose the same plan,
so we probably shouldn't tar it with that brush.  Per bug #6565 from
Guillaume Cottenceau.  Back-patch to 9.0 where the behavior was fixed.
2012-04-09 20:49:11 -04:00
Tom Lane
f42a4c01f4 Update URL for pgtclng project.
Thom Brown
2012-04-06 19:00:23 -04:00
Tom Lane
3bf25a2a16 Back-patch contrib/vacuumlo's new -l (limit) option into 9.0 and 9.1.
Since 9.0, removing lots of large objects in a single transaction risks
exceeding max_locks_per_transaction, because we merged large object removal
into the generic object-drop mechanism, which takes out an exclusive lock
on each object to be dropped.  This creates a hazard for contrib/vacuumlo,
which has historically tried to drop all unreferenced large objects in one
transaction.  There doesn't seem to be any correctness requirement to do it
that way, though; we only need to drop enough large objects per transaction
to amortize the commit costs.

To prevent a regression from pre-9.0 releases wherein vacuumlo worked just
fine, back-patch commits b69f2e3640 and
64c604898e, which break vacuumlo's deletions
into multiple transactions with a user-controllable upper limit on the
number of objects dropped per transaction.

Tim Lewis, Robert Haas, Tom Lane
2012-03-21 13:05:05 -04:00
Alvaro Herrera
4ba41df896 Update struct Trigger in docs 2012-03-20 15:37:28 -03:00
Bruce Momjian
5d492502ac Remove tabs in SGML files 2012-03-12 10:13:33 -04:00
Tatsuo Ishii
677d2ff18f Add description for --no-locale and --text-search-config. 2012-03-11 19:44:53 +09:00
Tom Lane
0e92519634 Improve documentation around logging_collector and use of stderr.
In backup.sgml, point out that you need to be using the logging collector
if you want to log messages from a failing archive_command script.  (This
is an oversimplification, in that it will work without the collector as
long as you're not sending postmaster stderr to /dev/null; but it seems
like a good idea to encourage use of the collector to avoid problems
with multiple processes concurrently scribbling on one file.)

In config.sgml, do some wordsmithing of logging_collector discussion.

Per bug #6518 from Janning Vygen
2012-03-05 14:09:01 -05:00
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