aboutsummaryrefslogtreecommitdiff
path: root/doc/src
Commit message (Collapse)AuthorAge
...
* Update docs to say you need fsync to make sync rep work fast.Simon Riggs2011-03-22
|
* Markup and wording improvements for 9.1 release notes.Bruce Momjian2011-03-20
|
* Another 9.1 release note typo fix.Bruce Momjian2011-03-20
|
* Fix snapshot isolation level typo in 9.1 release notes.Bruce Momjian2011-03-20
|
* Reorder some 9.1 release item documentation entries, fix some awkward wording.Bruce Momjian2011-03-20
|
* Fix up handling of C/POSIX collations.Tom Lane2011-03-20
| | | | | | | | | | | | | | | | | Install just one instance of the "C" and "POSIX" collations into pg_collation, rather than one per encoding. Make these instances exist and do something useful even in machines without locale_t support: to wit, it's now possible to force comparisons and case-folding functions to use C locale in an otherwise non-C database, whether or not the platform has support for using any additional collations. Fix up severely broken upper/lower/initcap functions, too: the C/POSIX fastpath now does what it is supposed to, and non-default collations are handled correctly in single-byte database encodings. Merge the two separate collation hashtables that were being maintained in pg_locale.c, and be more wary of the possibility that we fail partway through filling a cache entry.
* Move PITR and StreamingRep up one level of heading in the 9.1 releaseBruce Momjian2011-03-20
| | | | | | | | notes. Remove excessive linking to pg_ctl manual page. Reorder incompatibility sections.
* Misc minor fixes to 9.1 release notesMagnus Hagander2011-03-20
| | | | Thom Brown
* Word-wrap 9.1 release note lines.Bruce Momjian2011-03-20
|
* Add links to documentation from 9.1 release notes.Bruce Momjian2011-03-19
|
* Add SGML markup for keywords, terms, functions, commands, etc.Bruce Momjian2011-03-19
|
* Initial version of PG 9.1 release notes.Bruce Momjian2011-03-19
|
* Rename ident authentication over local connections to peerMagnus Hagander2011-03-19
| | | | | | | | | | | | | This removes an overloading of two authentication options where one is very secure (peer) and one is often insecure (ident). Peer is also the name used in libpq from 9.1 to specify the same type of authentication. Also make initdb select peer for local connections when ident is chosen, and ident for TCP connections when peer is chosen. ident keyword in pg_hba.conf is still accepted and maps to peer authentication.
* Remove "all balls" mention of network address; change IPv6 address to ::/0.Bruce Momjian2011-03-19
|
* Document that the timestamp returned by pg_last_xact_replay_timestamp isBruce Momjian2011-03-18
| | | | the time on the primary that the transaction was generated.
* Document the all-balls IPv6 address.Bruce Momjian2011-03-18
|
* Minor fixes for high availability documentation.Robert Haas2011-03-17
| | | | Erik Rijkers and me
* Protocol documentation for Hot Standby feedback messages.Robert Haas2011-03-17
|
* Add pause_at_recovery_target to recovery.conf.sample; improve docs.Robert Haas2011-03-17
| | | | | Fujii Masao, but with the proposed behavior change reverted, and the rest adjusted accordingly.
* Fix various possible problems with synchronous replication.Robert Haas2011-03-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Don't ignore query cancel interrupts. Instead, if the user asks to cancel the query after we've already committed it, but before it's on the standby, just emit a warning and let the COMMIT finish. 2. Don't ignore die interrupts (pg_terminate_backend or fast shutdown). Instead, emit a warning message and close the connection without acknowledging the commit. Other backends will still see the effect of the commit, but there's no getting around that; it's too late to abort at this point, and ignoring die interrupts altogether doesn't seem like a good idea. 3. If synchronous_standby_names becomes empty, wake up all backends waiting for synchronous replication to complete. Without this, someone attempting to shut synchronous replication off could easily wedge the entire system instead. 4. Avoid depending on the assumption that if a walsender updates MyProc->syncRepState, we'll see the change even if we read it without holding the lock. The window for this appears to be quite narrow (and probably doesn't exist at all on machines with strong memory ordering) but protecting against it is practically free, so do that. 5. Remove useless state SYNC_REP_MUST_DISCONNECT, which isn't needed and doesn't actually do anything. There's still some further work needed here to make the behavior of fast shutdown plausible, but that looks complex, so I'm leaving it for a separate commit. Review by Fujii Masao.
* Document guc context values, and reference them from the config doc section.Bruce Momjian2011-03-17
| | | | Tom Lane
* Corrections to CREATE FOREIGN TABLE documentation.Robert Haas2011-03-16
| | | | | | Omit incorrect = sign, and properly document server_name parameter. Shigeru Hanada
* Adjust doc wording about the casting exceptions for composite types.Bruce Momjian2011-03-15
|
* Fix spelling error in fuzzystrmatch docs.Bruce Momjian2011-03-15
|
* Wording adjustment for restart_after_crash entryBruce Momjian2011-03-15
| | | | Specifically, mention that "restart" is disabled by this parameter.
* Minor sync rep documentation improvements.Robert Haas2011-03-15
| | | | | | - 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.
* Use "backend process" rather than "backend server", where appropriate.Bruce Momjian2011-03-12
|
* In docs, rename "backwards compatibility" to "backward compatibility"Bruce Momjian2011-03-11
| | | | for consistency.
* Create an explicit concept of collations that work for any encoding.Tom Lane2011-03-11
| | | | | | | | | | | 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.
* Remove duplicate indexterm to silence openjade wrning.Tom Lane2011-03-11
|
* Update documentation on FreeBSD write cache control.Bruce Momjian2011-03-11
|
* Document that to_char('FM') removes only trailing zeros.Bruce Momjian2011-03-11
|
* Document how listen_addresses can do only IPv4 or IPv6.Bruce Momjian2011-03-11
|
* Adds index entries for session_user and pg_describe_objectBruce Momjian2011-03-11
| | | | | | | | 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
* In plpsql docs, use RAISE rather than undefined log function.Bruce Momjian2011-03-11
|
* Improve extract(day) documentation with interval values.Bruce Momjian2011-03-11
|
* Fix "unparenthesized" mention in vacuum docs.Bruce Momjian2011-03-11
|
* Update kernel docs for Solaris 10.Bruce Momjian2011-03-11
| | | | Josh Berkus
* Document that pg_dump --clean might generate some harmless errors on restore.Bruce Momjian2011-03-11
|
* Document that libpq's PQgetResult() should be called after a fatal errorBruce Momjian2011-03-11
| | | | to fully process errors.
* Document that the parenthesized VACUUM syntax is deprecated, not theBruce Momjian2011-03-11
| | | | FREEZE functionality.
* Reference doc "examples" section for pg_dump options that often needBruce Momjian2011-03-10
| | | | complex quoting, e.g. -t and -n.
* More wording improvements for disallowed SQL function commands.Bruce Momjian2011-03-10
|
* Improve SQL function disallowed command wording.Bruce Momjian2011-03-10
|
* Clarify what commands are not allowed in SQL functions.Bruce Momjian2011-03-10
|
* Revert addition of third argument to format_type().Tom Lane2011-03-10
| | | | | | | | | | | | 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 :-(
* Add missing index terms for recovery control functions.Robert Haas2011-03-10
| | | | Fujii Masao
* Use '=' when documenting long options.Bruce Momjian2011-03-10
|
* Remove collation information from TypeName, where it does not belong.Tom Lane2011-03-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Document that server single-user mode does not do checkpoints or otherBruce Momjian2011-03-09
| | | | background processing.