summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
2011-03-17Document guc context values, and reference them from the config doc section.Bruce Momjian
Tom Lane
2011-03-16Corrections to CREATE FOREIGN TABLE documentation.Robert Haas
Omit incorrect = sign, and properly document server_name parameter. Shigeru Hanada
2011-03-15Adjust doc wording about the casting exceptions for composite types.Bruce Momjian
2011-03-15Fix spelling error in fuzzystrmatch docs.Bruce Momjian
2011-03-15Wording adjustment for restart_after_crash entryBruce Momjian
Specifically, mention that "restart" is disabled by this parameter.
2011-03-15Minor sync rep documentation improvements.Robert Haas
- Make the name of the ID tag for the GUC entry match the GUC name. - Clarify that synchronous_replication waits for xlog flush, not receipt. - Mention that synchronous_replication won't wait if max_wal_senders=0.
2011-03-12Use "backend process" rather than "backend server", where appropriate.Bruce Momjian
2011-03-11In docs, rename "backwards compatibility" to "backward compatibility"Bruce Momjian
for consistency.
2011-03-11Create an explicit concept of collations that work for any encoding.Tom Lane
Use collencoding = -1 to represent such a collation in pg_collation. We need this to make the "default" entry work sanely, and a later patch will fix the C/POSIX entries to be represented this way instead of duplicating them across all encodings. All lookup operations now search first for an entry that's database-encoding-specific, and then for the same name with collencoding = -1. Also some incidental code cleanup in collationcmds.c and pg_collation.c.
2011-03-11Remove duplicate indexterm to silence openjade wrning.Tom Lane
2011-03-11Update documentation on FreeBSD write cache control.Bruce Momjian
2011-03-11Document that to_char('FM') removes only trailing zeros.Bruce Momjian
2011-03-11Document how listen_addresses can do only IPv4 or IPv6.Bruce Momjian
2011-03-11Adds index entries for session_user and pg_describe_objectBruce Momjian
Removes extraneous closing parenthesis from pg_describe_object Puts pg_describe_object and has_sequence_privilege in correct alphabetical position in function listing Thom Brown
2011-03-11In plpsql docs, use RAISE rather than undefined log function.Bruce Momjian
2011-03-11Improve extract(day) documentation with interval values.Bruce Momjian
2011-03-11Fix "unparenthesized" mention in vacuum docs.Bruce Momjian
2011-03-11Update kernel docs for Solaris 10.Bruce Momjian
Josh Berkus
2011-03-11Document that pg_dump --clean might generate some harmless errors on restore.Bruce Momjian
2011-03-11Document that libpq's PQgetResult() should be called after a fatal errorBruce Momjian
to fully process errors.
2011-03-11Document that the parenthesized VACUUM syntax is deprecated, not theBruce Momjian
FREEZE functionality.
2011-03-10Reference doc "examples" section for pg_dump options that often needBruce Momjian
complex quoting, e.g. -t and -n.
2011-03-10More wording improvements for disallowed SQL function commands.Bruce Momjian
2011-03-10Improve SQL function disallowed command wording.Bruce Momjian
2011-03-10Clarify what commands are not allowed in SQL functions.Bruce Momjian
2011-03-10Revert addition of third argument to format_type().Tom Lane
Including collation in the behavior of that function promotes a world view we do not want. Moreover, it was producing the wrong behavior for pg_dump anyway: what we want is to dump a COLLATE clause on attributes whose attcollation is different from the underlying type, and likewise for domains, and the function cannot do that for us. Doing it the hard way in pg_dump is a bit more tedious but produces more correct output. In passing, fix initdb so that the initial entry in pg_collation is properly pinned. It was droppable before :-(
2011-03-10Add missing index terms for recovery control functions.Robert Haas
Fujii Masao
2011-03-10Use '=' when documenting long options.Bruce Momjian
2011-03-09Remove collation information from TypeName, where it does not belong.Tom Lane
The initial collations patch treated a COLLATE spec as part of a TypeName, following what can only be described as brain fade on the part of the SQL committee. It's a lot more reasonable to treat COLLATE as a syntactically separate object, so that it can be added in only the productions where it actually belongs, rather than needing to reject it in a boatload of places where it doesn't belong (something the original patch mostly failed to do). In addition this change lets us meet the spec's requirement to allow COLLATE anywhere in the clauses of a ColumnDef, and it avoids unfriendly behavior for constructs such as "foo::type COLLATE collation". To do this, pull collation information out of TypeName and put it in ColumnDef instead, thus reverting most of the collation-related changes in parse_type.c's API. I made one additional structural change, which was to use a ColumnDef as an intermediate node in AT_AlterColumnType AlterTableCmd nodes. This provides enough room to get rid of the "transform" wart in AlterTableCmd too, since the ColumnDef can carry the USING expression easily enough. Also fix some other minor bugs that have crept in in the same areas, like failure to copy recently-added fields of ColumnDef in copyfuncs.c. While at it, document the formerly secret ability to specify a collation in ALTER TABLE ALTER COLUMN TYPE, ALTER TYPE ADD ATTRIBUTE, and ALTER TYPE ALTER ATTRIBUTE TYPE; and correct some misstatements about what the default collation selection will be when COLLATE is omitted. BTW, the three-parameter form of format_type() should go away too, since it just contributes to the confusion in this area; but I'll do that in a separate patch.
2011-03-09Document that server single-user mode does not do checkpoints or otherBruce Momjian
background processing.
2011-03-09Adjust the permissions required for COMMENT ON ROLE.Tom Lane
Formerly, any member of a role could change the role's comment, as of course could superusers; but holders of CREATEROLE privilege could not, unless they were also members. This led to the odd situation that a CREATEROLE holder could create a role but then could not comment on it. It also seems a bit dubious to let an unprivileged user change his own comment, let alone those of group roles he belongs to. So, change the rule to be "you must be superuser to comment on a superuser role, or hold CREATEROLE to comment on non-superuser roles". This is the same as the privilege check for creating/dropping roles, and thus fits much better with the rule for other object types, namely that only the owner of an object can comment on it. In passing, clean up the documentation for COMMENT a little bit. Per complaint from Owen Jacobson and subsequent discussion.
2011-03-09Remove '=' from initdb switch syntax.Bruce Momjian
2011-03-09Improve wording of initdb and pg_controldata manual pages.REL9_1_ALPHA4Bruce Momjian
gabrielle <gorthx@gmail.com>
2011-03-09Remove 's' from recovery_target_timeline's' from the release note.Itagaki Takahiro
2011-03-09synchronous_standby_names is a string parameter.Itagaki Takahiro
2011-03-09Make alpha release notes more consistent as regards periods.Robert Haas
2011-03-09Update alpha release notes for latest commits.Robert Haas
2011-03-08A bit more editing for collation documentation.Tom Lane
2011-03-08Create "replication and recovery" section in alpha release notes.Robert Haas
2011-03-08Assorted editing for collation documentation.Tom Lane
I made a pass over this to familiarize myself with the feature, and found some things that could be improved.
2011-03-08Adjust CHAR() doc mention of pattern matching issues for trailingBruce Momjian
spaces.
2011-03-08Document that char() ignores spaces in non-pattern comparisons, not inBruce Momjian
pattern comparisons such as LIKE and regex.
2011-03-07Improve description of inquiry functions that accept regclass.Tom Lane
Per a suggestion from Thom Brown, though this is not his proposed patch.
2011-03-07Minor copy-editing in CREATE TRIGGER reference page.Tom Lane
Per suggestions from Thom Brown and Robert Haas.
2011-03-07If recovery_target_timeline is set to 'latest' and standby mode is enabled,Heikki Linnakangas
periodically rescan the archive for new timelines, while waiting for new WAL segments to arrive. This allows you to set up a standby server that follows the TLI change if another standby server is promoted to master. Before this, you had to restart the standby server to make it notice the new timeline. This patch only scans the archive for TLI changes, it won't follow a TLI change in streaming replication. That is much needed too, but it would be a much bigger patch than I dare to sneak in this late in the release cycle. There was discussion on improving the sanity checking of the WAL segments so that the system would notice more reliably if the new timeline isn't an ancestor of the current one, but that is not included in this patch. Reviewed by Fujii Masao.
2011-03-07Reword alpha release note item on SSI.Robert Haas
Per Josh Berkus; some additional explanatory text by me.
2011-03-07Synchronous replication doc corrections.Robert Haas
Thom Brown
2011-03-07Document the DEFERRABLE option in SET TRANSACTION command.Heikki Linnakangas
Kevin Grittner
2011-03-06Efficient transaction-controlled synchronous replication.Simon Riggs
If a standby is broadcasting reply messages and we have named one or more standbys in synchronous_standby_names then allow users who set synchronous_replication to wait for commit, which then provides strict data integrity guarantees. Design avoids sending and receiving transaction state information so minimises bookkeeping overheads. We synchronize with the highest priority standby that is connected and ready to synchronize. Other standbys can be defined to takeover in case of standby failure. This version has very strict behaviour; more relaxed options may be added at a later date. Simon Riggs and Fujii Masao, with reviews by Yeb Havinga, Jaime Casanova, Heikki Linnakangas and Robert Haas, plus the assistance of many other design reviewers.
2011-03-05Adjust documentation about pg_pltemplate to reflect latest thinking.Tom Lane
It's more likely that pg_pltemplate will go away in the future than that we'll add additional specialized infrastructure for it.