summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
2010-08-11Fix one more incorrect errno definition in the ECPG manual.Robert Haas
Again, back-patch all the way to 7.4.
2010-08-11Fix incorrect errno definitions in ECPG manual.Robert Haas
ecpgerrno.h hasn't materially changed since PostgreSQL 7.4, so this has been wrong for a very long time. Back-patch all the way. Satoshi Nagayasu
2010-08-10Use double quotes rather than double quotes for libpq target anchors.Robert Haas
Per observation from Tom Lane that the previous patch to these files was not consistent with what is done elsewhere in the docs.
2010-08-09Provide stable target anchors for libpq functions.Robert Haas
Daniele Varrazzo
2010-08-06Fix indexterm spellingPeter Eisentraut
2010-07-27Fix typo in PL/pgsql code example.Robert Haas
Backpatch to 8.4. Marc Cousin. Review by Kevin Grittner.
2010-07-27Spelling fixesPeter Eisentraut
2010-07-26Fix grammarPeter Eisentraut
backpatched to 8.1
2010-07-14Allow full SSL certificate verification (wherein libpq checks its host nameTom Lane
parameter against server cert's CN field) to succeed in the case where both host and hostaddr are specified. As with the existing precedents for Kerberos, GSSAPI, SSPI, it is the calling application's responsibility that host and hostaddr match up --- we just use the host name as given. Per bug #5559 from Christopher Head. In passing, make the error handling and messages for the no-host-name-given failure more consistent among these four cases, and correct a lie in the documentation: we don't attempt to reverse-lookup host from hostaddr if host is missing. Back-patch to 8.4 where SSL cert verification was introduced.
2010-07-03Fix assorted misstatements and poor wording in the descriptions of the I/OTom Lane
formats for geometric types. Per bug #5536 from Jon Strait, and my own testing. Back-patch to all supported branches, since this doco has been wrong right along -- we certainly haven't changed the I/O behavior of these types in many years.
2010-06-22Deprecate the use of => as an operator name.Robert Haas
In HEAD, emit a warning when an operator named => is defined. In both HEAD and the backbranches (except in 8.2, where contrib modules do not have documentation), document that hstore's text => text operator may be removed in a future release, and encourage the use of the hstore(text, text) function instead. This function only exists in HEAD (previously, it was called tconvert), so backpatch it back to 8.2, when hstore was added. Per discussion.
2010-06-17Fix typo, init => int, per KOIZUMI Satoru.Tom Lane
2010-06-09Add index entry for ::, per complaint from John Gage.Alvaro Herrera
2010-06-07Ensure default-only storage parameters for TOAST relationsItagaki Takahiro
to be initialized with proper values. Affected parameters are fillfactor, analyze_threshold, and analyze_scale_factor. Especially uninitialized fillfactor caused inefficient page usage because we built a StdRdOptions struct in which fillfactor is zero if any reloption is set for the toast table. In addition, we disallow toast.autovacuum_analyze_threshold and toast.autovacuum_analyze_scale_factor because we didn't actually support them; they are always ignored. Report by Rumko on pgsql-bugs on 12 May 2010. Analysis by Tom Lane and Alvaro Herrera. Patch by me. Backpatch to 8.4.
2010-05-18Refer to pg_ident.conf as config file for username mapping, as it'sMagnus Hagander
now used for other things than just ident authentication. Noted by Stephen Frost
2010-05-16Fix longstanding typo in V1 calling conventions documentation.Robert Haas
Erik Rijkers
2010-05-15Improve documentation of pg_restore's -l and -L switches to point out theirTom Lane
interactions with filtering switches, such as -n and -t. Per a complaint from Russell Smith.
2010-05-13Update release notes with security issues.Tom Lane
Security: CVE-2010-1169, CVE-2010-1170
2010-05-13Use an entity instead of non-ASCII letter. Thom BrownTom Lane
2010-05-13Use "TOAST table" in place of the vague, not-used-elsewhere phraseTom Lane
"supplementary storage table".
2010-05-13Prevent PL/Tcl from loading the "unknown" module from pltcl_modules unlessTom Lane
that is a regular table or view owned by a superuser. This prevents a trojan horse attack whereby any unprivileged SQL user could create such a table and insert code into it that would then get executed in other users' sessions whenever they call pltcl functions. Worse yet, because the code was automatically loaded into both the "normal" and "safe" interpreters at first use, the attacker could execute unrestricted Tcl code in the "normal" interpreter without there being any pltclu functions anywhere, or indeed anyone else using pltcl at all: installing pltcl is sufficient to open the hole. Change the initialization logic so that the "unknown" code is only loaded into an interpreter when the interpreter is first really used. (That doesn't add any additional security in this particular context, but it seems a prudent change, and anyway the former behavior violated the principle of least astonishment.) Security: CVE-2010-1170
2010-05-13Abandon the use of Perl's Safe.pm to enforce restrictions in plperl, as it isAndrew Dunstan
fundamentally insecure. Instead apply an opmask to the whole interpreter that imposes restrictions on unsafe operations. These restrictions are much harder to subvert than is Safe.pm, since there is no container to be broken out of. Backported to release 7.4. In releases 7.4, 8.0 and 8.1 this also includes the necessary backporting of the two interpreters model for plperl and plperlu adopted in release 8.2. In versions 8.0 and up, the use of Perl's POSIX module to undo its locale mangling on Windows has become insecure with these changes, so it is replaced by our own routine, which is also faster. Nice side effects of the changes include that it is now possible to use perl's "strict" pragma in a natural way in plperl, and that perl's $a and $b variables now work as expected in sort routines, and that function compilation is significantly faster. Tim Bunce and Andrew Dunstan, with reviews from Alex Hunsaker and Alexey Klyukin. Security: CVE-2010-1169
2010-05-13Fix some spelling errors.Magnus Hagander
Thom Brown
2010-05-12Preliminary release notes for releases 8.4.4, 8.3.11, 8.2.17, 8.1.21, 8.0.25,Tom Lane
7.4.29.
2010-05-05Fix incorrect parameter tag in docs, spotted by KOIZUMI Satoru.Heikki Linnakangas
2010-04-18Provide better guidance for adjusting shared_buffers.Robert Haas
This change was previously committed to HEAD, but the consensus seems to be in favor of back-patching it. I'm only backpatching as far as 8.3.X, however, because it's not clear to me to what degree this advice applies to older branches, and in any case our first advice to anyone attempting to tune those versions is likely to be "upgrade".
2010-04-15IP port -> TCP portPeter Eisentraut
backpatched to 8.1, where this first appeared
2010-03-18Fix missing parentheses for current_query(), per bug #5378.Tom Lane
Also make a couple other minor editorial improvements.
2010-03-17Typo fixes.Magnus Hagander
Fujii Masao
2010-03-17Fix incorrect example in CREATE INDEX reference page, per Josh Kupershmidt.Tom Lane
Also fix and uncomment an old example of creating a GIST index, and make a couple of other minor editorial adjustments.
2010-03-11Improve PL/Perl documentation of database access functions. (Backpatch to 8.4Alvaro Herrera
of a patch previously applied by Bruce Momjian to CVS HEAD) Alexey Klyukin
2010-03-10Preliminary release notes for releases 8.4.3, 8.3.10, 8.2.16, 8.1.20, 8.0.24,Tom Lane
7.4.28.
2010-03-08Add missing space in example.Magnus Hagander
Tim Landscheidt
2010-02-25Add configuration parameter ssl_renegotiation_limit to controlMagnus Hagander
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-24Remove stray semicolon, per report from strkAlvaro Herrera
2010-02-19Remove incorrect statement that PostgreSQL 8.4 has no default parameters.Robert Haas
Tom Lane already removed this from HEAD as par of the plpgsql variable resolution behavior patch, but this part of his patch also applies to 8.4.
2010-02-14Ooops, let's get the non-null vs null bit right ...Tom Lane
2010-02-14Document the behavior of STRICT VARIADIC functions.Tom Lane
2010-02-05Properly document that OVER and WINDOW are Postgres reserved words.Bruce Momjian
2010-01-16Fix spelling error, noticed by Thomas ShinnickMagnus Hagander
2010-01-10Update Windows installation notes.Magnus Hagander
pginstaller isn't used anymore, in favor of the one-click installers. Make it clear that we support Windows 2000 and newer with the native port, instead of first saying we support NT4 and then saying we don't.
2009-12-23Always pass catalog id to the options validator function specified inHeikki Linnakangas
CREATE FOREIGN DATA WRAPPER. Arguably it wasn't a bug because the documentation said that it's passed the catalog ID or zero, but surely we should provide it when it's known. And there isn't currently any scenario where it's not known, and I can't imagine having one in the future either, so better remove the "or zero" escape hatch and always pass a valid catalog ID. Backpatch to 8.4. Martin Pihlak
2009-12-10Update release notes for releases 8.4.2, 8.3.9, 8.2.15, 8.1.19, 8.0.23,Tom Lane
7.4.27.
2009-12-09Update size references in installation instructions to be a bitMagnus Hagander
more up-to-date with current versions.
2009-12-08Fix a couple of broken links to third-party sites.Magnus Hagander
2009-12-08Replace broken link to custom local gettext package with one to the mainMagnus Hagander
GNU site for gettext.
2009-12-07Update CVS documentation to be more current and add documentation aboutMagnus Hagander
git mirror. Remove information about cvsup and documentation that's more about cvs than our use of cvs. Backpatch to 8.4 so we get the git information up on the website as soon as possible.
2009-11-24Fix syntax in extract() examplesPeter Eisentraut
Author: Erik Rijkers <er@xs4all.nl>
2009-10-27Make FOR UPDATE/SHARE in the primary query not propagate into WITH queries;Tom Lane
for example in WITH w AS (SELECT * FROM foo) SELECT * FROM w, bar ... FOR UPDATE the FOR UPDATE will now affect bar but not foo. This is more useful and consistent than the original 8.4 behavior, which tried to propagate FOR UPDATE into the WITH query but always failed due to assorted implementation restrictions. Even though we are in process of removing those restrictions, it seems correct on philosophical grounds to not let the outer query's FOR UPDATE affect the WITH query. In passing, fix isLockedRel which frequently got things wrong in nested-subquery cases: "FOR UPDATE OF foo" applies to an alias foo in the current query level, not subqueries. This has been broken for a long time, but it doesn't seem worth back-patching further than 8.4 because the actual consequences are minimal. At worst the parser would sometimes get RowShareLock on a relation when it should be AccessShareLock or vice versa. That would only make a difference if someone were using ExclusiveLock concurrently, which no standard operation does, and anyway FOR UPDATE doesn't result in visible changes so it's not clear that the someone would notice any problem. Between that and the fact that FOR UPDATE barely works with subqueries at all in existing releases, I'm not excited about worrying about it.
2009-10-27Fix documentation on the toast.fillfactor reloption: it doesn't exist.Alvaro Herrera
Per note from Zoltan Boszormenyi.