aboutsummaryrefslogtreecommitdiff
path: root/doc/src
Commit message (Collapse)AuthorAge
...
* pg_basebackup: Add support for relocating tablespacesPeter Eisentraut2014-02-22
| | | | | | | | Tablespaces can be relocated in plain backup mode by specifying one or more -T olddir=newdir options. Author: Steeve Lennmark <steevel@handeldsbanken.se> Reviewed-by: Peter Eisentraut <peter_e@gmx.net>
* doc: Clarify documentation page header customization codePeter Eisentraut2014-02-20
| | | | | | | | | | | The customization overrode the fast-forward code with its custom Up link. So this is no longer really the fast-forward feature, so we might as well turn that off and override the non-ff template instead, thus removing one mental indirection. Fix the wrong column span declaration. Clarify and update the documentation.
* Document pg_replslot in storage.sgml.Robert Haas2014-02-19
| | | | Per an observation from Amit Kapila.
* Switch various builtin functions to use pg_lsn instead of text.Robert Haas2014-02-19
| | | | | | | | | | | The functions in slotfuncs.c don't exist in any released version, but the changes to xlogfuncs.c represent backward-incompatibilities. Per discussion, we're hoping that the queries using these functions are few enough and simple enough that this won't cause too much breakage for users. Michael Paquier, reviewed by Andres Freund and further modified by me.
* Add a pg_lsn data type, to represent an LSN.Robert Haas2014-02-19
| | | | Robert Haas and Michael Paquier
* Last-minute updates for release notes.Tom Lane2014-02-17
| | | | | | Add entries for security issues. Security: CVE-2014-0060 through CVE-2014-0067
* Improve documentation about multixact IDs.Tom Lane2014-02-17
| | | | Per gripe from Josh Berkus.
* Document risks of "make check" in the regression testing instructions.Tom Lane2014-02-17
| | | | | | | | | | | | | | | | | | | | Since the temporary server started by "make check" uses "trust" authentication, another user on the same machine could connect to it as database superuser, and then potentially exploit the privileges of the operating-system user who started the tests. We should change the testing procedures to prevent this risk; but discussion is required about the best way to do that, as well as more testing than is practical for an undisclosed security problem. Besides, the same issue probably affects some user-written test harnesses. So for the moment, we'll just warn people against using "make check" when there are untrusted users on the same machine. In passing, remove some ancient advice that suggested making the regression testing subtree world-writable if you'd built as root. That looks dangerously insecure in modern contexts, and anyway we should not be encouraging people to build Postgres as root. Security: CVE-2014-0067
* Document security implications of check_function_bodies.Noah Misch2014-02-17
| | | | Back-patch to 8.4 (all supported versions).
* Prevent privilege escalation in explicit calls to PL validators.Noah Misch2014-02-17
| | | | | | | | | | | | | | The primary role of PL validators is to be called implicitly during CREATE FUNCTION, but they are also normal functions that a user can call explicitly. Add a permissions check to each validator to ensure that a user cannot use explicit validator calls to achieve things he could not otherwise achieve. Back-patch to 8.4 (all supported versions). Non-core procedural language extensions ought to make the same two-line change to their own validators. Andres Freund, reviewed by Tom Lane and Noah Misch. Security: CVE-2014-0061
* Shore up ADMIN OPTION restrictions.Noah Misch2014-02-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Granting a role without ADMIN OPTION is supposed to prevent the grantee from adding or removing members from the granted role. Issuing SET ROLE before the GRANT bypassed that, because the role itself had an implicit right to add or remove members. Plug that hole by recognizing that implicit right only when the session user matches the current role. Additionally, do not recognize it during a security-restricted operation or during execution of a SECURITY DEFINER function. The restriction on SECURITY DEFINER is not security-critical. However, it seems best for a user testing his own SECURITY DEFINER function to see the same behavior others will see. Back-patch to 8.4 (all supported versions). The SQL standards do not conflate roles and users as PostgreSQL does; only SQL roles have members, and only SQL users initiate sessions. An application using PostgreSQL users and roles as SQL users and roles will never attempt to grant membership in the role that is the session user, so the implicit right to add or remove members will never arise. The security impact was mostly that a role member could revoke access from others, contrary to the wishes of his own grantor. Unapproved role member additions are less notable, because the member can still largely achieve that by creating a view or a SECURITY DEFINER function. Reviewed by Andres Freund and Tom Lane. Reported, independently, by Jonas Sundman and Noah Misch. Security: CVE-2014-0060
* Release notes for 9.3.3, 9.2.7, 9.1.12, 9.0.16, 8.4.20.Tom Lane2014-02-16
|
* Further wordsmithing on 9.3.3 release notes.Tom Lane2014-02-16
| | | | | No substantive changes, but reorder some items and improve some descriptions.
* Improve release notes per comments from Andres Freund.Tom Lane2014-02-16
| | | | | | | Make a bit more noise about the timeout-interrupt bug. Also, remove the release note entry for commit 423e1211a; that patch fixed a problem introduced post-9.3.2, so there's no need to document it in the release notes.
* First-draft release notes for 9.3.3.Tom Lane2014-02-16
| | | | | As usual, the release notes for older branches will be made by cutting these down, but put them up for community review first.
* Update regression testing instructions.Tom Lane2014-02-14
| | | | | | | | | | | | | This documentation never got the word about the existence of check-world or installcheck-world. Revise to recommend use of those, and document all the subsidiary test suites. Do some minor wordsmithing elsewhere, too. In passing, remove markup related to generation of plain-text regression test instructions, since we don't do that anymore. Back-patch to 9.1 where check-world was added. (installcheck-world exists in 9.0; but since check-world doesn't, this patch would need additional work to cover that branch, and it doesn't seem worth the effort.)
* Suggest shell here-documents instead of psql -c for multiple commands.Tom Lane2014-02-14
| | | | | | The documentation suggested using "echo | psql", but not the often-superior alternative of a here-document. Also, be more direct about suggesting that people avoid -c for multiple commands. Per discussion.
* Separate multixact freezing parameters from xid'sAlvaro Herrera2014-02-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we were piggybacking on transaction ID parameters to freeze multixacts; but since there isn't necessarily any relationship between rates of Xid and multixact consumption, this turns out not to be a good idea. Therefore, we now have multixact-specific freezing parameters: vacuum_multixact_freeze_min_age: when to remove multis as we come across them in vacuum (default to 5 million, i.e. early in comparison to Xid's default of 50 million) vacuum_multixact_freeze_table_age: when to force whole-table scans instead of scanning only the pages marked as not all visible in visibility map (default to 150 million, same as for Xids). Whichever of both which reaches the 150 million mark earlier will cause a whole-table scan. autovacuum_multixact_freeze_max_age: when for cause emergency, uninterruptible whole-table scans (default to 400 million, double as that for Xids). This means there shouldn't be more frequent emergency vacuuming than previously, unless multixacts are being used very rapidly. Backpatch to 9.3 where multixacts were made to persist enough to require freezing. To avoid an ABI break in 9.3, VacuumStmt has a couple of fields in an unnatural place, and StdRdOptions is split in two so that the newly added fields can go at the end. Patch by me, reviewed by Robert Haas, with additional input from Andres Freund and Tom Lane.
* docs: improve CREATE FUNCTION docs about language case and quotingBruce Momjian2014-02-13
| | | | Report from Marc Mamin
* pgcrypto: clarify 'md5' (hash) table entryBruce Momjian2014-02-13
| | | | Per suggestion from Peter Eisentraut
* pg_upgrade: mention the need for tablespace snapshots in docsBruce Momjian2014-02-13
|
* pg_upgrade: document use of file system and COW snapshotsBruce Momjian2014-02-12
|
* Improve cross-references between minor version release notes.Tom Lane2014-02-12
| | | | | | | | | | | | We have a practice of providing a "bread crumb" trail between the minor versions where the migration section actually tells you to do something. Historically that was just plain text, eg, "see the release notes for 9.2.4"; but if you're using a browser or PDF reader, it's a lot nicer if it's a live hyperlink. So use "<xref>" instead. Any argument against doing this vanished with the recent decommissioning of plain-text release notes. Vik Fearing
* Revert gmake/make release note changesBruce Momjian2014-02-12
| | | | Backbranch release note changes cause merge conflicts.
* Rename 'gmake' to 'make' in docs and recommended commandsBruce Momjian2014-02-12
| | | | This simplifies the docs and makes it easier to cut/paste command lines.
* doc: Postgres date-style date-only output is ISOBruce Momjian2014-02-12
| | | | | | Backpatch to 9.3 Report from MauMau
* Don't generate plain-text HISTORY and src/test/regress/README anymore.Tom Lane2014-02-10
| | | | | | | | | | | | | | | | | | | | | Providing this information as plain text was doubtless worth the trouble ten years ago, but it seems likely that hardly anyone reads it in this format anymore. And the effort required to maintain these files (in the form of extra-complex markup rules in the relevant parts of the SGML documentation) is significant. So, let's stop doing that and rely solely on the other documentation formats. Per discussion, the plain-text INSTALL instructions might still be worth their keep, so we continue to generate that file. Rather than remove HISTORY and src/test/regress/README from distribution tarballs entirely, replace them with simple stub files that tell the reader where to find the relevant documentation. This is mainly to avoid possibly breaking packaging recipes that expect these files to exist. Back-patch to all supported branches, because simplifying the markup requirements for release notes won't help much unless we do it in all branches.
* doc: Disable indentation of XHTML outputPeter Eisentraut2014-02-05
| | | | | Indenting the XHTML output can lead to incorrect rendering. This only affects the build via XSLT.
* Minor improvements to replication slot documentation.Robert Haas2014-02-05
| | | | | Fix a thinko pointed out by Jeff Davis, and convert a couple of other references into links.
* Rephrase text to avoid links in regress.sgmlRobert Haas2014-02-03
| | | | Otherwise, the standalone regress_README build gets unhappy.
* Document a few more regression test hazards.Robert Haas2014-02-03
| | | | Michael Paquier, reviewed by Christian Kruse
* Add <indexterm> for functions pg_sleep_for and pg_sleep_until.Fujii Masao2014-02-03
|
* Fix typos in docs and comments.Fujii Masao2014-02-02
| | | | Thom Brown
* Introduce replication slots.Robert Haas2014-01-31
| | | | | | | | | | | | | | | | Replication slots are a crash-safe data structure which can be created on either a master or a standby to prevent premature removal of write-ahead log segments needed by a standby, as well as (with hot_standby_feedback=on) pruning of tuples whose removal would cause replication conflicts. Slots have some advantages over existing techniques, as explained in the documentation. In a few places, we refer to the type of replication slots introduced by this patch as "physical" slots, because forthcoming patches for logical decoding will also have slots, but with somewhat different properties. Andres Freund and Robert Haas
* docs: mention 'g' is not in the regex embedded options tableBruce Momjian2014-01-31
| | | | Mentioned in substring() and regexp_replace() sections.
* doc: mention statistics reset during crash recoveryBruce Momjian2014-01-31
| | | | Takayuki Tsunakawa
* doc: mention data page checksums in WAL sectionBruce Momjian2014-01-31
| | | | | | Backpatch to 9.3 Adjusted patch from Ian Lawrence Barwick
* docs: mention tgconstrindid supports exclusion constraintsBruce Momjian2014-01-31
| | | | Dean Rasheed
* Add some examples to the postgres_fdw documentation.Tom Lane2014-01-31
| | | | Michael Paquier
* doc: authentication wording improvementsBruce Momjian2014-01-31
| | | | Suggested by David Tonhofer
* docs: specify FOR UPDATE/SHARE incompatibilitiesBruce Momjian2014-01-31
| | | | | | | Document that FOR UPDATE/SHARE are incompatible with GROUP BY, DISTINCT, HAVING and window functions. Michael Paquier
* Fix documented return type of json_array_elements_text.Andrew Dunstan2014-01-31
| | | | | | | Per gripe from hubert depesz lubaczewski. Also improve examples for this and json_array_elements so they match the example results.
* Add convenience functions pg_sleep_for and pg_sleep_until.Robert Haas2014-01-30
| | | | Vik Fearing, reviewed by Pavel Stehule and myself
* docs: improve xref description for xreflabel and refentry linksBruce Momjian2014-01-30
|
* docs: mention SGML refentry also pulls text from the linkBruce Momjian2014-01-30
|
* docs: add mention of index swappingBruce Momjian2014-01-30
| | | | | | Backpatch to 9.3 Greg Smith
* Add checks for interval overflow/underflowBruce Momjian2014-01-30
| | | | | | | | New checks include input, month/day/time internal adjustments, addition, subtraction, multiplication, and negation. Also adjust docs to correctly specify interval size in bytes. Report from Rok Kralj
* Include planning time in EXPLAIN ANALYZE output.Robert Haas2014-01-29
| | | | | | | | This doesn't work for prepared queries, but it's not too easy to get the information in that case and there's some debate as to exactly what the right thing to measure is, so just do this for now. Andreas Karlsson, with slight doc changes by me.
* Add json_array_elements_text function.Andrew Dunstan2014-01-29
| | | | | | | This was a notable omission from the json functions added in 9.3 and there have been numerous complaints about its absence. Laurence Rowe.
* Remedy two small omissions in the new json functions docs.Andrew Dunstan2014-01-29
|