Commit Graph

9831 Commits

Author SHA1 Message Date
Robert Haas
ffeca98cec Adjust EXPLAIN documentation, so that it's not unreasonably wide.
The new formatting matches what we do for COPY.

Per a complaint from Bruce Momjian.
2010-10-08 23:00:39 -04:00
Robert Haas
57f475271d Warn that views can be safely used to hide columns, but not rows. 2010-10-08 09:16:08 -04:00
Robert Haas
c1db529642 Improve WAL reliability documentation, and add more cross-references to it.
In particular, we are now more explicit about the fact that you may need
wal_sync_method=fsync_writethrough for crash-safety on some platforms,
including MaxOS X.  There's also now an explicit caution against assuming
that the default setting of wal_sync_method is either crash-safe or best
for performance.
2010-10-07 12:22:04 -04:00
Simon Riggs
7887db612c Correct docs for behaviour of ALTER DATABASE .. RENAME during Hot Standby.
Actual behaviour did not match documented behaviour and we have agreed
that it should be the docs that change.

Spotted by Bernd Helmle
2010-10-06 00:20:54 +01:00
Tom Lane
6f1e6b9ccd Undo some poorly-thought-out "proofreading improvements".
Per Tatsuhito Kasahara.
2010-10-05 18:48:20 -04:00
Tom Lane
a0ccae7ed4 Fix back-branch breakage from ill-advised last-minute commit. 2010-10-01 10:25:44 -04:00
Marc G. Fournier
fd51c16ce9 Tag 9.0.1 2010-10-01 10:28:42 -03:00
Tom Lane
0d1f3d7bb2 Use a separate interpreter for each calling SQL userid in plperl and pltcl.
There are numerous methods by which a Perl or Tcl function can subvert
the behavior of another such function executed later; for example, by
redefining standard functions or operators called by the target function.
If the target function is SECURITY DEFINER, or is called by such a
function, this means that any ordinary SQL user with Perl or Tcl language
usage rights can do essentially anything with the privileges of the target
function's owner.

To close this security hole, create a separate Perl or Tcl interpreter for
each SQL userid under which plperl or pltcl functions are executed within
a session.  However, all plperlu or pltclu functions run within a session
still share a single interpreter, since they all execute at the trust
level of a database superuser anyway.

Note: this change results in a functionality loss when libperl has been
built without the "multiplicity" option: it's no longer possible to call
plperl functions under different userids in one session, since such a
libperl can't support multiple interpreters in one process.  However, such
a libperl already failed to support concurrent use of plperl and plperlu,
so it's likely that few people use such versions with Postgres.

Security: CVE-2010-3433
2010-09-30 17:19:44 -04:00
Robert Haas
f5f945f9f1 Adjust pg_archivecleanup docs to match message changes made 2010-06-17.
Erik Rijkers
2010-09-30 17:11:11 -04:00
Tom Lane
9caf5a841b Update release notes for releases 9.0.1, 8.4.5, 8.3.12, 8.2.18, 8.1.22,
8.0.26, and 7.4.30.
2010-09-30 14:27:28 -04:00
Bruce Momjian
798cbc015b Mention that pg_upgrade requires write permission in the current
directory.

Per report from Harald Armin Massa.
2010-09-28 18:43:01 +00:00
Bruce Momjian
946de44b3d Mention in pg_upgrade docs that the proper Win32 service name should be used.
Per report from Harald Armin Massa
2010-09-28 18:32:07 +00:00
Bruce Momjian
cd1454cdc3 Add mention of installing pg_upgrade_support in pg_upgrade doc section
title, per suggestion from Ian Barwick.
2010-09-28 17:25:21 +00:00
Peter Eisentraut
f27860dba3 Fix man page markup for <cmdsynopsis> with multiple variants
Command synopses using <cmdsynopsis> with multiple variants previously used
<sbr> to break lines between variants.  The new man page toolchain introduced
in 9.0 makes a mess out of that, and that markup was probably wrong all along,
because <sbr> is supposed to break lines within a synopsis, not between them.
So fix that by using multiple <cmdsynopsis> elements inside <refsynopsisdiv>.

backpatched to 9.0
2010-09-25 16:47:58 +03:00
Tom Lane
535c611f76 Do some copy-editing on the Git usage docs. 2010-09-22 20:22:35 -04:00
Tom Lane
5074f68848 Fix remaining stray references to CVS.
These are just cosmetic and don't seem worth back-patching far.
I put them into 9.0 just because it was trivial to do so.
2010-09-22 19:51:46 -04:00
Tom Lane
f3a838bb76 Add assorted other documentation build targets to documentation gitignore. 2010-09-22 18:08:53 -04:00
Magnus Hagander
bbf84ac000 Remove anonymous cvs instructions, and replace them with instructions
for git. Change other references from cvs to git as well.
2010-09-22 20:10:29 +02:00
Magnus Hagander
a692359411 Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:06 +02:00
Tom Lane
dcd9dcdeeb Fix a missed explanation of auto-analyze threshold, per Joe Miller. 2010-09-21 16:40:50 -04:00
Robert Haas
c6f6db5fdf Move pg_db_role_setting docs to correct place in alphabetical order. 2010-09-17 18:50:22 +00:00
Marc G. Fournier
861861edcc tag v9.0.0 ... the big day approaches 2010-09-17 01:18:41 +00:00
Tom Lane
57d115c449 Stamp 9.0 release notes with expected release date; also some last-minute
copy-editing.
2010-09-16 18:15:28 +00:00
Tom Lane
a59eaf28cc Fix bad grammar. 2010-09-16 14:31:26 +00:00
Tom Lane
e3171be674 Add a compatibility note about plpgsql's treatment of SELECT INTO rec.fld
when fld is of composite type.  Per discussion of bug #5644 from Valentine
Gogichashvili.
2010-09-15 17:46:02 +00:00
Robert Haas
3b08e09fe7 Elaborate on what gets stored in pg_authid.rolpasswd.
Also, add cross-reference from pg_shadow.passwd to pg_authid.rolpasswd and
fix a bit of markup I muffed in my previous commit.

Per discussion with Josh Kupershmidt.
2010-09-13 17:03:23 +00:00
Bruce Momjian
6bb4a7b305 Don't try aligning comments for new archive_command Win32 doc example;
it doesn't work.

Backpatch to 9.0.X.
2010-09-13 01:35:54 +00:00
Robert Haas
1cdf188aa6 Link from pg_shadow docs to pg_authid docs.
Per discussion with Josh Kupershmidt.
2010-09-13 01:25:12 +00:00
Bruce Momjian
f499c211d8 Re-add documentation for Win32 copy syntax for archive_command.
Backpatch to 9.0.X.
2010-09-12 13:47:19 +00:00
Tom Lane
e266be9110 Remove obsolete claim that gzip is needed while installing PG's documentation.
It isn't, now that we ship the docs as loose files rather than a sub-tarball.

Also adjust the wording in a couple of places to make the lists of required
software read more consistently.
2010-09-09 17:19:46 +00:00
Bruce Momjian
a8745a9afd Doc fixes:
- remove excessive table cells
- moving function parameters into function tags rather than having
  them being considered separate
- add return type column on XML2 contrib module functions list and
  removing return types from function
- add table header to XML2 contrib parameter table

Thom Brown

Backpatch to 9.0.X.
2010-09-09 00:48:29 +00:00
Peter Eisentraut
83756a241a Add tip about building plpython 2 and 3. Fix link to Python docs. 2010-09-08 20:35:53 +00:00
Peter Eisentraut
f48fb5d823 Clarify that surrogate pairs are not encoded in UTF-8 directly 2010-09-07 18:54:08 +00:00
Tom Lane
a2145a5b43 Clean up description of ecpg's dtcvfmtasc function.
Per KOIZUMI Satoru.
2010-09-02 14:57:09 +00:00
Tom Lane
ec3747f77e Clean up some bad grammar and punctuation in description of ecpg's decimal
type.  Per KOIZUMI Satoru.
2010-09-02 14:46:51 +00:00
Tom Lane
43e48de4a5 Clarify documentation of handling of null arguments for aggregates.
Per discussion.
2010-09-01 18:22:35 +00:00
Tom Lane
41c8287de0 Improve release notes' description of Teodor's fixes for polygon overlaps
and contains operators.
2010-09-01 15:14:48 +00:00
Alvaro Herrera
9602630f40 Add missing markup for translatability 2010-08-31 05:57:56 +00:00
Tom Lane
0808cb109b Remove obsolete remark that PQprepare() is more flexible than PREPARE.
Spotted by Dmitriy Igrishin.  Back-patch to 8.2, which is when the PREPARE
statement was improved to allow parameter types to be omitted.
2010-08-29 15:19:12 +00:00
Marc G. Fournier
ee48d27e34 tag rc1 ... final stretch ... 2010-08-27 03:04:41 +00:00
Tom Lane
d7a1feba67 Document the existence of the socket lock file under unix_socket_directory,
which is perhaps not a terribly good spot for it but there doesn't seem to be
a better place.  Also add a source-code comment pointing out a couple reasons
for having a separate lock file.  Per suggestion from Greg Smith.
2010-08-26 22:00:32 +00:00
Tom Lane
cf95e921ff Explain automatic creation (or lack of it) of indexes for the various types
of constraints.

Kevin Grittner
2010-08-26 21:08:43 +00:00
Bruce Momjian
2d685d4ec0 Remove docs for "Incrementally Updated Backups" because it was of
questionable reliability;  information moved to a wiki:

	http://wiki.postgresql.org/wiki/Incrementally_Updated_Backups

Backpatch to 9.0.
2010-08-25 23:56:03 +00:00
Tom Lane
6a167730e3 Document filtering dictionaries in textsearch.sgml.
While at it, copy-edit the description of prefix-match marker support in
synonym dictionaries, and clarify the description of the default unaccent
dictionary a bit more.
2010-08-25 21:43:01 +00:00
Bruce Momjian
167557b476 Update release notes, per comments from Simon Riggs. 2010-08-25 19:41:51 +00:00
Peter Eisentraut
a60d200092 Add missing description of reloftype field 2010-08-25 18:18:38 +00:00
Tom Lane
0d495e3412 Docs review for unaccent: fix grammar, markup, etc. 2010-08-25 02:12:11 +00:00
Tom Lane
5b9399f0a1 Update 9.0 release notes for changes since beta4.
Note: as usual, bug fixes that were also applied in back branches are not
considered material to include in a new major release's notes.
2010-08-25 00:48:06 +00:00
Tom Lane
84cc6717bc Further editing of release notes. 2010-08-24 23:45:37 +00:00
Bruce Momjian
7946e1a71b Fix awkward wording in Incrementally Updated Backups docs.
Backpatch to 9.0.X.
2010-08-24 15:22:19 +00:00