summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
2011-07-03Fix omissions in documentation of the pg_roles view.Tom Lane
Somehow, column rolconfig got removed from the documentation of the pg_roles view in the 9.0 cycle, although the column is actually still there. In 9.1, we'd also forgotten to document the rolreplication column. Spotted by Sakamoto Masahiko.
2011-07-01In the pg_upgrade docs, move 50432 port mention to the place where weBruce Momjian
talk about client access.
2011-07-01Change pg_upgrade to use port 50432 by default to avoid unintendedBruce Momjian
client connections during the upgrade. Also rename data/bin/port environment variables to being with 'PG'. Also no longer honor PGPORT.
2011-06-30Enable CHECK constraints to be declared NOT VALIDAlvaro Herrera
This means that they can initially be added to a large existing table without checking its initial contents, but new tuples must comply to them; a separate pass invoked by ALTER TABLE / VALIDATE can verify existing data and ensure it complies with the constraint, at which point it is marked validated and becomes a normal part of the table ecosystem. An non-validated CHECK constraint is ignored in the planner for constraint_exclusion purposes; when validated, cached plans are recomputed so that partitioning starts working right away. This patch also enables domains to have unvalidated CHECK constraints attached to them as well by way of ALTER DOMAIN / ADD CONSTRAINT / NOT VALID, which can later be validated with ALTER DOMAIN / VALIDATE CONSTRAINT. Thanks to Thom Brown, Dean Rasheed and Jaime Casanova for the various reviews, and Robert Hass for documentation wording improvement suggestions. This patch was sponsored by Enova Financial.
2011-06-29Unify spelling of "canceled", "canceling", "cancellation"Peter Eisentraut
We had previously (af26857a2775e7ceb0916155e931008c2116632f) established the U.S. spellings as standard.
2011-06-28Implement the collation columns of various information schema viewsPeter Eisentraut
Fill in the collation columns of the views attributes, columns, domains, and element_types. Also update collation information in sql_implementation_info.
2011-06-28Add composite-type attributes to information_schema.element_types viewPeter Eisentraut
2011-06-27Mention that SSPI authentication can use GSSAPI on non-Windows systems.Robert Haas
As noted by Christian Ullrich.
2011-06-24Documentation improvements for pg_locks with respect to SSI.Robert Haas
Explain that querying pg_locks does not simultaneously lock both the normal lock manager and the predicate lock manager. Per discussion with Kevin Grittner.
2011-06-23In pg_upgrade docs, clarify that link mode uses "hard" links.Bruce Momjian
Backpatch to 9.1 and 9.0.
2011-06-23Add information schema views role_udt_grants, udt_privileges, user_defined_typesPeter Eisentraut
2011-06-23Add a bit of markupPeter Eisentraut
2011-06-21Add smallserial pseudotype.Robert Haas
This is just like serial and bigserial, except it generates an int2 column rather than int4 or int8. Mike Pultz, reviewed by Brar Piening and Josh Kupershmidt
2011-06-21Make deadlock_timeout PGC_SUSET rather than PGC_SIGHUP.Robert Haas
This allows deadlock_timeout to be reduced for transactions that are particularly likely to be involved in a deadlock, thus detecting it more quickly. It is also potentially useful as a poor-man's deadlock priority mechanism: a transaction with a high deadlock_timeout is less likely to be chosen as the victim than one with a low deadlock_timeout. Since that could be used to game the system, we make this PGC_SUSET rather than PGC_USERSET. At some point, it might be worth thinking about a more explicit priority mechanism, since using this is far from fool-proof. But let's see whether there's enough use case to justify the additional work before we go down that route. Noah Misch, reviewed by Shigeru Hanada
2011-06-21Add notion of a "transform function" that can simplify function calls.Robert Haas
Initially, we use this only to eliminate calls to the varchar() function in cases where the length is not being reduced and, therefore, the function call is equivalent to a RelabelType operation. The most significant effect of this is that we can avoid a table rewrite when changing a varchar(X) column to a varchar(Y) column, where Y > X. Noah Misch, reviewed by me and Alexey Klyukin
2011-06-21Performance tuning advice for SSI.Robert Haas
Kevin Grittner, with additional wordsmithing by me.
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-19Produce HISTORY file consistently as ASCIIPeter Eisentraut
The release notes may contain non-ASCII characters (for contributor names), which lynx converts to the encoding determined by the current locale. The get output that is deterministic and easily readable by everyone, we make lynx produce LATIN1 and then convert that to ASCII with transliteration for the non-ASCII characters.
2011-06-19Capitalization fixesPeter Eisentraut
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-17Fix typo.Robert Haas
Per Josh Kupershmidt and Tom Lane.
2011-06-15Rework parsing of ConstraintAttributeSpec to improve NOT VALID handling.Tom Lane
The initial commit of the ALTER TABLE ADD FOREIGN KEY NOT VALID feature failed to support labeling such constraints as deferrable. The best fix for this seems to be to fold NOT VALID into ConstraintAttributeSpec. That's a bit more general than the documented syntax, but it allows better-targeted syntax error messages. In addition, do some mostly-but-not-entirely-cosmetic code review for the whole NOT VALID patch.
2011-06-14Document that psql's \d also works with composite typesPeter Eisentraut
This has always been true, it was just never documented.
2011-06-14In pg_upgrade, document that link mode has to have data directories onBruce Momjian
the same file system, and that authentication should lock out normal users. Per suggestsion from #postgresql irc channel. Backpatch to 9.1.
2011-06-14Fix grammatical mistake introduced by previous commitAlvaro Herrera
Per note from Tom
2011-06-14Mention DROP TABLE as well as ALTER TABLE NO INHERITAlvaro Herrera
... when talking about how good they are in replacement of bulk DELETE in partitioned setups. The original wording was a bit confusing. Per an observation from David Wheeler.
2011-06-14Improve accuracy of ON_ERROR_STOP documentation.Robert Haas
Per a gripe from Tom Lane.
2011-06-13Document that bits to the right of the CIDR mask "should" be zero, notBruce Momjian
"must".
2011-06-13Expand warnings on locks acquired by CREATE INDEX CONCURRENTLYAlvaro Herrera
The previous wording wasn't explicit enough, which could misled readers into thinking that the locks acquired are more restricted in nature than they really are. The resulting optimism can be damaging to morale when confronted with reality, as has been observed in the field. Greg Smith
2011-06-13Remove parentheses from mention of current_schemas function.Robert Haas
This is more consistent with what we do elsewhere, and hopefully avoids creating the perception that current_schemas takes no arguments. As suggested by Brendan Jurd
2011-06-13Clarify that NATURAL without matching columns is like CROSS JOIN.Robert Haas
As suggested by Grzegorz Szpetkowski.
2011-06-13Add doc cross-reference to search_path discussion of current_schemas().Robert Haas
Brendan Jurd
2011-06-13Document GUC context for synchronous_standby_names/hot_standby_feedback.Robert Haas
Fujii Masao
2011-06-13In ALTER EXTENSION docs, document left_type/right_type.Robert Haas
Noted by Daniele Varrazzo.
2011-06-13Markup fix.Robert Haas
Fujii Masao
2011-06-13More foreign table documentation improvements.Robert Haas
Shigeru Hanada, with some additional wordsmithing by me
2011-06-12Corrections to ALTER FOREIGN TABLE documentation.Robert Haas
Shigeru Hanada, with a minor grammar correction.
2011-06-09Ecpg doc cleanups, as reported by Marc Cousin.Bruce Momjian
2011-06-09Update 9.1 release notes to reflect commits through today.Tom Lane
Also do some desultory copy-editing on the notes.
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-08Make citext's equality and hashing functions collation-insensitive.Tom Lane
This is an ugly hack to get around the fact that significant parts of the core backend assume they don't need to worry about passing collation to equality and hashing functions. That's true for the core string datatypes, but citext should ideally have equality behavior that depends on the specified collation's LC_CTYPE. However, there's no chance of fixing the core before 9.2, so we'll have to live with this compromise arrangement for now. Per bug #6053 from Regina Obe. The code changes in this commit should be reverted in full once the core code is up to speed, but be careful about reverting the docs changes: I fixed a number of obsolete statements while at it.
2011-06-08Reorder pg_ctl promote after pg_ctl statusPeter Eisentraut
Since start/stop/restart/reload/status is a kind of standard command set, it seems odd to insert the special-purpose "promote" in between the closely related "restart" and "reload". So put it after "status" in code and documentation. Put the documentation of the -U option in some sensible place. Rewrite the synopsis sentence in help and documentation to make it less of a growing mouthful.
2011-06-04Fix documentation reference to "above" examplePeter Eisentraut
found by Thom Brown
2011-06-04More ECPG documentation fixesPeter Eisentraut
Marc Cousin
2011-06-04ECPG documentation fixPeter Eisentraut
Marc Cousin, Satoshi Nagayasu
2011-06-03Truncate id to <=44 charactersPeter Eisentraut
This is the original DocBook SGML limit, but apparently most installations have changed it or ignore it, which is why few people have run into this problem. pointed out by Brendan Jurd
2011-06-02Use proper SGML doc entities rather than angle-brackets.Bruce Momjian
Marco Nenciarini
2011-06-03Sort COMMENT synopsis and add more examplesPeter Eisentraut
Josh Kupershmidt
2011-06-01Some copy editing of the release notesPeter Eisentraut