summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
2012-02-23Last-minute release note updates.Tom Lane
Security: CVE-2012-0866, CVE-2012-0867, CVE-2012-0868
2012-02-23Require execute permission on the trigger function for CREATE TRIGGER.Tom Lane
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-22Draft release notes for 9.1.3, 9.0.7, 8.4.11, 8.3.18.Tom Lane
2012-01-27Fix wording, per Peter GeogheganMagnus Hagander
2011-12-16Fix reference to "verify-ca" and "verify-full" in a note in the docs.Heikki Linnakangas
2011-12-02Add some weasel wording about threaded usage of PGresults.Tom Lane
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-11-30Update information about configuring SysV IPC parameters on NetBSD.Tom Lane
Per Emmanuel Kasper, sysctl works fine as of NetBSD 5.0.
2011-11-30Draft release notes for 9.1.2, 9.0.6, 8.4.10, 8.3.17, 8.2.23.Tom Lane
2011-11-28Remove erroneous claim about use of pg_locks.objid for advisory locks.Tom Lane
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-10Correct documentation for trace_userlocks.Robert Haas
2011-11-04Fix archive_command examplePeter Eisentraut
The given archive_command example didn't use %p or %f, which wouldn't really work in practice.
2011-11-01Document that multiple LDAP servers can be specifiedMagnus Hagander
2011-10-12Improve documentation of psql's \q command.Tom Lane
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-09-24Note that sslmode=require verifies the CA if root cert is presentMagnus Hagander
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-22Update release notes for 9.1.1, 9.0.5, 8.4.9, 8.3.16, 8.2.22.Tom Lane
Man, we fixed a lotta bugs since April.
2011-09-06Update type-conversion documentation for long-ago changes.Tom Lane
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-07-05Fix typo in sslmode documentationMagnus Hagander
Per bug #6089, noted by Sidney Cadot
2011-07-04Clarify that you need ActiveState perl 5.8 *or later* to build on Windows.Heikki Linnakangas
2011-06-20Fix missed use of "cp -i" in an example, per Fujii Masao.Tom Lane
Also be more careful about markup: use & not just &.
2011-06-17Don't use "cp -i" in the example WAL archive_command.Tom Lane
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-09Support silent mode for service registrations on win32Magnus Hagander
Using -s when registering a service will now suppress the application eventlog entries stating that the service is starting and started. MauMau
2011-06-09Fix documentation of information_schema.element_typesPeter Eisentraut
The documentation of the columns collection_type_identifier and dtd_identifier was wrong. This effectively reverts commits 8e1ccad51901e83916dae297cd9afa450957a36c and 57352df66d3a0885899d39c04c067e63c7c0ba30 and updates the name array_type_identifier (the name in SQL:1999) to collection_type_identifier. closes bug #5926
2011-06-04ECPG documentation fixesPeter Eisentraut
Marc Cousin
2011-05-31Protect GIST logic that assumes penalty values can't be negative.Tom Lane
Apparently sane-looking penalty code might return small negative values, for example because of roundoff error. This will confuse places like gistchoose(). Prevent problems by clamping negative penalty values to zero. (Just to be really sure, I also made it force NaNs to zero.) Back-patch to all supported branches. Alexander Korotkov
2011-04-28The arguments to pg_ctl kill are not optional - remove brackets in the docs.Heikki Linnakangas
Fujii Masao
2011-04-14Update release notes for releases 9.0.4, 8.4.8, 8.3.15, and 8.2.21.Tom Lane
2011-03-27Correct "characters" to "bytes" in createdb docs.Robert Haas
Susanne Ebrecht
2011-03-23Improve user-defined-aggregates documentation.Tom Lane
On closer inspection, that two-element initcond value seems to have been a little white lie to avoid explaining the full behavior of float8_accum. But if people are going to expect the examples to be exactly correct, I suppose we'd better explain. Per comment from Thom Brown.
2011-03-23Fix ancient typo in user-defined-aggregates documentation.Tom Lane
The description of the initcond value for the built-in avg(float8) aggregate has been wrong since it was written. Noted by Disc Magnet.
2011-02-03Fix typo.Magnus Hagander
Thom Brown
2011-01-27Update release notes.Tom Lane
Security: CVE-2010-4015
2011-01-27Update release notes for releases 9.0.3, 8.4.7, 8.3.14, and 8.2.20.Tom Lane
2011-01-19Document that WITH queries are also called Common Table Expressions.Robert Haas
Peter Geoghegan, reviewed by Stephen Frost
2010-12-18Document unavailable parameters in some configurationsMagnus Hagander
Add a note to user-facing parameters that can be removed completely (and not just empty) by #ifdef's depending on build configuration.
2010-12-13Update release notes for releases 9.0.2, 8.4.6, 8.3.13, 8.2.19, and 8.1.23.Tom Lane
2010-12-08Force default wal_sync_method to be fdatasync on Linux.Tom Lane
Recent versions of the Linux system header files cause xlogdefs.h to believe that open_datasync should be the default sync method, whereas formerly fdatasync was the default on Linux. open_datasync is a bad choice, first because it doesn't actually outperform fdatasync (in fact the reverse), and second because we try to use O_DIRECT with it, causing failures on certain filesystems (e.g., ext4 with data=journal option). This part of the patch is largely per a proposal from Marti Raudsepp. More extensive changes are likely to follow in HEAD, but this is as much change as we want to back-patch. Also clean up confusing code and incorrect documentation surrounding the fsync_writethrough option. Those changes shouldn't result in any actual behavioral change, but I chose to back-patch them anyway to keep the branches looking similar in this area. In 9.0 and HEAD, also do some copy-editing on the WAL Reliability documentation section. Back-patch to all supported branches, since any of them might get used on modern Linux versions.
2010-10-19Add mention of using tools/fsync to test fsync methods. RestructureBruce Momjian
recent wal_sync_method doc paragraph to be clearer.
2010-10-14Add pg_user_mappings to the table of system views.Robert Haas
2010-10-14Complete the documentation of the USAGE privilege for foreign serversPeter Eisentraut
The GRANT reference page failed to mention that the USAGE privilege allows modifying associated user mappings, although this was already documented on the CREATE/ALTER/DROP USER MAPPING pages.
2010-10-08Warn that views can be safely used to hide columns, but not rows.Robert Haas
2010-10-07Improve WAL reliability documentation, and add more cross-references to it.Robert Haas
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-09-30Use a separate interpreter for each calling SQL userid in plperl and pltcl.Tom Lane
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-30Update release notes for releases 9.0.1, 8.4.5, 8.3.12, 8.2.18, 8.1.22,Tom Lane
8.0.26, and 7.4.30.
2010-09-22Do some copy-editing on the Git usage docs.Tom Lane
2010-09-22Fix documentation gitignore for pre-9.0 doc build methods.Tom Lane
2010-09-22Remove anonymous cvs instructions, and replace them with instructionsMagnus Hagander
for git. Change other references from cvs to git as well.
2010-09-22Convert cvsignore to gitignore, and add .gitignore for build targets.Magnus Hagander
2010-08-29Remove obsolete remark that PQprepare() is more flexible than PREPARE.Tom Lane
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-17Backpatch some blatant spelling mistakesPeter Eisentraut
2010-08-15Add link and additional index reference to pgcrypto.Robert Haas
Kevin Grittner, with markup adjustments.