Commit Graph

7352 Commits

Author SHA1 Message Date
Magnus Hagander
3f060dfa3b Typo fixes.
Fujii Masao
2010-03-17 18:04:21 +00:00
Marc G. Fournier
9fbbb5e21e tag 8.2.16 2010-03-12 03:44:14 +00:00
Tom Lane
d66486b89a Preliminary release notes for releases 8.4.3, 8.3.10, 8.2.16, 8.1.20, 8.0.24,
7.4.28.
2010-03-10 01:58:51 +00:00
Magnus Hagander
452419a6f0 Add missing space in example.
Tim Landscheidt
2010-03-08 12:39:37 +00:00
Magnus Hagander
f8bd81b4cb Add configuration parameter ssl_renegotiation_limit to control
how often we do SSL session key renegotiation. Can be set to
0 to disable renegotiation completely, which is required if
a broken SSL library is used (broken patches to CVE-2009-3555
a known cause) or when using a client library that can't do
renegotiation.
2010-02-25 13:26:19 +00:00
Marc G. Fournier
0cea93188e tag 8.2.15 2009-12-10 03:09:47 +00:00
Tom Lane
60b75c6939 Update release notes for releases 8.4.2, 8.3.9, 8.2.15, 8.1.19, 8.0.23,
7.4.27.
2009-12-10 00:31:44 +00:00
Tom Lane
9b5ac366f9 Fix erroneous handling of shared dependencies (ie dependencies on roles)
in CREATE OR REPLACE FUNCTION.  The original code would update pg_shdepend
as if a new function was being created, even if it wasn't, with two bad
consequences: pg_shdepend might record the wrong owner for the function,
and any dependencies for roles mentioned in the function's ACL would be lost.
The fix is very easy: just don't touch pg_shdepend at all when doing a
function replacement.

Also update the CREATE FUNCTION reference page, which never explained
exactly what changes and doesn't change in a function replacement.
In passing, fix the CREATE VIEW reference page similarly; there's no
code bug there, but the docs didn't say what happens.
2009-10-02 18:13:26 +00:00
Marc G. Fournier
9b0a50e61c Tag 8.2.14 2009-09-04 01:16:34 +00:00
Tom Lane
ee21047d08 Final updates of release notes for 8.4.1, 8.3.8, 8.2.14, 8.1.18, 8.0.22,
7.4.26.
2009-09-03 22:14:18 +00:00
Tom Lane
22f77b0f9d Make LOAD of an already-loaded library into a no-op, instead of attempting
to unload and re-load the library.

The difficulty with unloading a library is that we haven't defined safe
protocols for doing so.  In particular, there's no safe mechanism for
getting out of a "hook" function pointer unless libraries are unloaded
in reverse order of loading.  And there's no mechanism at all for undefining
a custom GUC variable, so GUC would be left with a pointer to an old value
that might or might not still be valid, and very possibly wouldn't be in
the same place anymore.

While the unload and reload behavior had some usefulness in easing
development of new loadable libraries, it's of no use whatever to normal
users, so just disabling it isn't giving up that much.  Someday we might
care to expend the effort to develop safe unload protocols; but even if
we did, there'd be little certainty that every third-party loadable module
was following them, so some security restrictions would still be needed.

Back-patch to 8.2; before that, LOAD was superuser-only anyway.

Security: unprivileged users could crash backend.  CVE not assigned yet
2009-09-03 22:11:30 +00:00
Bruce Momjian
1146b2fd9d Update release notes for 7.4.26, 8.0.22, 8.1.18, 8.2.14, 8.3.8, 8.4.1. 2009-08-27 01:27:11 +00:00
Tom Lane
0d1cbe2403 Fix imprecise documentation of random(): it never returns 1.0.
This was changed in 8.2 but the documentation was not corrected.
Per gripe from Sam Mason.
2009-08-16 19:55:45 +00:00
Bruce Momjian
7a02afb622 Remove tabs from SGML. 2009-08-15 20:23:09 +00:00
Andrew Dunstan
47cbad2d18 Re-add documentation for --no-readline option of psql, mistakenly removed a decade ago. Backpatch to release 7.4. 2009-08-10 02:39:20 +00:00
Tom Lane
c596ea4568 Split the release notes into a separate file for each (active) major branch,
as per my recent proposal.  release.sgml itself is now just a stub that should
change rarely; ideally, only once per major release to add a new include line.
Most editing work will occur in the release-N.N.sgml files.  To update a back
branch for a minor release, just copy the appropriate release-N.N.sgml
file(s) into the back branch.

This commit doesn't change the end-product documentation at all, only the
source layout.  However, it makes it easy to start omitting ancient information
from newer branches' documentation, should we ever decide to do that.
2009-05-02 20:17:45 +00:00
Marc G. Fournier
7e23229904 tag 8.2.13 2009-03-13 02:16:43 +00:00
Tom Lane
e9e431619d Update back-branch release notes. 2009-03-12 22:36:09 +00:00
Marc G. Fournier
fbb70ccd60 tag 8.2.12 2009-01-30 03:13:35 +00:00
Tom Lane
2e28cf0777 Update back-branch release notes. 2009-01-30 00:37:52 +00:00
Heikki Linnakangas
d7adf1b342 Change explanation of pg_switch_xlog()'s return value to match code. 2009-01-15 18:23:53 +00:00
Bruce Momjian
c165c25a66 Update release notes for 8.3.5, 8.2.11, and 8.1.15 to mention the need
to reindex GiST indexes:

	If you were running a previous 8.X.X release, REINDEX all GiST
	indexes after the upgrade.
2009-01-09 01:46:48 +00:00
Tom Lane
7673ed269a Remove references to pgsql-ports and pgsql-patches mailing lists from
various documentation, since those lists are now dead/deprecated.
Point to pgsql-bugs and/or pgsql-hackers as appropriate.
2009-01-06 17:27:39 +00:00
Tom Lane
66156f2432 information_schema.key_column_usage.position_in_unique_constraint was
misdocumented as not being implemented.  In reality it has worked since
the release of 8.2.
2008-11-25 20:47:55 +00:00
Marc G. Fournier
400e915c62 tag 8.2.11 2008-10-31 02:44:09 +00:00
Tom Lane
614b828fb3 Update back-branch release notes. 2008-10-30 22:22:57 +00:00
Tom Lane
3e86678ffe Install a more robust solution for the problem of infinite error-processing
recursion when we are unable to convert a localized error message to the
client's encoding.  We've been over this ground before, but as reported by
Ibrar Ahmed, it still didn't work in the case of conversion failures for
the conversion-failure message itself :-(.  Fix by installing a "circuit
breaker" that disables attempts to localize this message once we get into
recursion trouble.

Patch all supported branches, because it is in fact broken in all of them;
though I had to add some missing translations to the older branches in
order to expose the failure in the particular test case I was using.
2008-10-27 19:37:36 +00:00
Tom Lane
c564931da0 Fix COPY documentation to not imply that HEADER can be used outside CSV mode.
Per gripe from Bill Thoen.
2008-10-10 21:46:49 +00:00
Marc G. Fournier
6967e894fd tag for 8.2.10 2008-09-19 03:12:08 +00:00
Tom Lane
c82cf66508 Update back-branch release notes. 2008-09-19 02:45:33 +00:00
Tom Lane
063ec6cf82 Fix pg_dump docs to acknowledge that you can use -Z with plain text output. Pointed out by Daniel Migowski. 2008-08-26 00:03:30 +00:00
Tom Lane
32e409ba8a Update link to Oleg and Teodor's GIN page.
(Extracted from fast-insert patch, since it ought to be back-patched)
2008-07-22 22:05:42 +00:00
Tom Lane
ea83cc1f98 Stamp 8.2.9 (except for configure.in/configure) 2008-06-08 22:14:31 +00:00
Tom Lane
414d4b8abe Update release notes for ALTER AGGREGATE fix. 2008-06-08 21:46:26 +00:00
Tom Lane
742627a27e Update release notes for 8.3.3 et al. 2008-06-07 22:10:57 +00:00
Tom Lane
f0f335eddb Stamp 8.2.8 (except for configure.in/configure) 2008-06-05 23:55:50 +00:00
Tom Lane
c1e9481c4f Draft release notes for upcoming back-branch updates. 2008-06-04 03:16:23 +00:00
Bruce Momjian
0e804581b6 Update odbc URL. 2008-05-29 02:01:07 +00:00
Tom Lane
a943df0ba5 Improve GRANT documentation to point out that UPDATE and DELETE typically
require SELECT privilege as well, since you normally need to read existing
column values within such commands.  This behavior is according to spec,
but we'd never documented it before.  Per gripe from Volkan Yazici.
2008-05-28 00:45:53 +00:00
Magnus Hagander
a18d6de197 Replace developer FAQ with a reference to the wiki, which is where
it now lives (per discussion). Leave the other FAQs alone for now.
2008-04-22 09:26:41 +00:00
Magnus Hagander
c68182e2cc Add link to major version release notes at the top of the minor
version ones, to make it clear to users just browsing the notes
that there are a lot more changes available from whatever version
they are at than what's in the minor version release notes.
2008-04-21 09:45:12 +00:00
Tom Lane
3dbe7e40ee Stamp version 8.2.7, except for configure.in/configure. 2008-03-13 23:58:25 +00:00
Tom Lane
4dd2586aac Update release notes for 8.3.1 and 8.2.7 releases. 2008-03-13 23:48:11 +00:00
Tom Lane
3917c397f0 Fix LISTEN/NOTIFY race condition reported by Laurent Birtz, by postponing
pg_listener modifications commanded by LISTEN and UNLISTEN until the end
of the current transaction.  This allows us to hold the ExclusiveLock on
pg_listener until after commit, with no greater risk of deadlock than there
was before.  Aside from fixing the race condition, this gets rid of a
truly ugly kludge that was there before, namely having to ignore
HeapTupleBeingUpdated failures during NOTIFY.  There is a small potential
incompatibility, which is that if a transaction issues LISTEN or UNLISTEN
and then looks into pg_listener before committing, it won't see any resulting
row insertion or deletion, where before it would have.  It seems unlikely
that anyone would be depending on that, though.

This patch also disallows LISTEN and UNLISTEN inside a prepared transaction.
That case had some pretty undesirable properties already, such as possibly
allowing pg_listener entries to be made for PIDs no longer present, so
disallowing it seems like a better idea than trying to maintain the behavior.
2008-03-12 20:12:01 +00:00
Tom Lane
6909d80982 Improve pg_autovacuum documentation to clarify that the enabled field cannot
prevent anti-wraparound vacuuming, and to caution against setting unreasonably
small values of freeze_max_age.  Also put in a notice that this catalog is
likely to disappear entirely in some future release.  Per discussion of
bug #3898 from Steven Flatt.
2008-01-31 18:40:09 +00:00
Tom Lane
dcd462a9c0 Fix an ancient oversight in libpq's handling of V3-protocol COPY OUT mode:
we need to be able to swallow NOTICE messages, and potentially also
ParameterStatus messages (although the latter would be a bit weird),
without exiting COPY OUT state.  Fix it, and adjust the protocol documentation
to emphasize the need for this.  Per off-list report from Alexander Galler.
2008-01-14 18:46:25 +00:00
Tom Lane
e29972bb56 Stamp release 8.2.6.
Security: CVE-2007-4769, CVE-2007-4772, CVE-2007-6067, CVE-2007-6600, CVE-2007-6601
2008-01-03 21:40:50 +00:00
Tom Lane
f3c52c64e8 Update release notes for security releases.
Security: CVE-2007-4769, CVE-2007-4772, CVE-2007-6067, CVE-2007-6600, CVE-2007-6601
2008-01-03 21:35:36 +00:00
Tom Lane
3af35f8d40 Make standard maintenance operations (including VACUUM, ANALYZE, REINDEX,
and CLUSTER) execute as the table owner rather than the calling user, using
the same privilege-switching mechanism already used for SECURITY DEFINER
functions.  The purpose of this change is to ensure that user-defined
functions used in index definitions cannot acquire the privileges of a
superuser account that is performing routine maintenance.  While a function
used in an index is supposed to be IMMUTABLE and thus not able to do anything
very interesting, there are several easy ways around that restriction; and
even if we could plug them all, there would remain a risk of reading sensitive
information and broadcasting it through a covert channel such as CPU usage.

To prevent bypassing this security measure, execution of SET SESSION
AUTHORIZATION and SET ROLE is now forbidden within a SECURITY DEFINER context.

Thanks to Itagaki Takahiro for reporting this vulnerability.

Security: CVE-2007-6600
2008-01-03 21:23:45 +00:00
Magnus Hagander
20a637db07 Fix invalid ipv6 address in example. Per doc comment 7211. 2008-01-02 19:53:21 +00:00