summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
2011-09-05Add documentation link to strftime supported options.Bruce Momjian
2011-09-05Add mention that UTC really means UT1.Bruce Momjian
Backpatch to 9.1.
2011-09-05Document that contrib/pgtrgm only processes ASCII alphanumericBruce Momjian
characters. Backpatch to 9.0 and 9.1.
2011-09-01Userspace access vector cache for contrib/sepgsql.Robert Haas
KaiGai Kohei
2011-08-31The replication status values in pg_stat_replication was changed toHeikki Linnakangas
lowercase earlier, but documentation was not updated. Update the docs. Fujii Masao
2011-08-30Some markup cleanup to deconfuse the find_gt_lt toolPeter Eisentraut
Josh Kupershmidt
2011-08-30Repair brain fade in previous commit, per Josh Kupershmidt.Robert Haas
2011-08-30Add --if-exists option to dropdb and dropuser.Robert Haas
Josh Kupershmidt, with some further editing by me.
2011-08-27Document minimum required version of DocBook XSL stylesheetsPeter Eisentraut
2011-08-27Implement the information schema with_hierarchy columnPeter Eisentraut
In PostgreSQL, this is included in the SELECT privilege, so show YES or NO depending on whether SELECT is granted.
2011-08-27Spelling improvementPeter Eisentraut
2011-08-26Clean up weird corner cases in lexing of psql meta-command arguments.Tom Lane
These changes allow backtick command evaluation and psql variable interpolation to happen on substrings of a single meta-command argument. Formerly, no such evaluations happened at all if the backtick or colon wasn't the first character of the argument, and we considered an argument completed as soon as we'd processed one backtick, variable reference, or quoted substring. A string like 'FOO'BAR was thus taken as two arguments not one, not exactly what one would expect. In the new coding, an argument is considered terminated only by unquoted whitespace or backslash. Also, clean up a bunch of omissions, infelicities and outright errors in the psql documentation of variables and metacommand argument syntax.
2011-08-26Support non-ASCII letters in psql variable names.Tom Lane
As in the backend, the implementation actually accepts any non-ASCII character, but we only document that you can use letters.
2011-08-25Adjust CREATE DOMAIN example for standard_conforming_strings=on.Robert Haas
Noted by Hitoshi Harada.
2011-08-24Fix pgxs.mk to always add --dbname=$(CONTRIB_TESTDB) to REGRESS_OPTS.Tom Lane
The previous coding resulted in contrib modules unintentionally overriding the use of CONTRIB_TESTDB. There seems no particularly good reason to allow that (after all, the makefile can set CONTRIB_TESTDB if that's really what it intends). In passing, document REGRESS_OPTS where the other pgxs.mk options are documented. Back-patch to 9.1 --- in prior versions, there were no cases of contrib modules setting REGRESS_OPTS without including the --dbname switch, so while the coding was fragile there was no actual bug.
2011-08-23Add recovery.conf to the index in the user manual.Heikki Linnakangas
Fujii Masao
2011-08-17Update 9.1 release notes to reflect commits through today.Tom Lane
Also do another pass of copy-editing.
2011-08-17Adjust wording now that estimated size can increaseMagnus Hagander
Per comment form Fujii Masao.
2011-08-17MacOS -> Mac OSPeter Eisentraut
Josh Kupershmidt
2011-08-14Fix typoPeter Eisentraut
2011-08-11Add major features list and introductory text for 9.1 release notes.Bruce Momjian
Backpatch to 9.1, obviously.
2011-08-11Display both per-table and per-column FDW options in psql's \d output.Robert Haas
Along the way, rename "Options" to "FDW Options" in various places for consistency and clarity. Shigeru Hanada
2011-08-11Change psql's \dd command to do something more useful.Robert Haas
Instead of displaying comments on an arbitrary subset of the object types which support them, make \dd display comments on exactly those object types which don't have their own backlash commands. We now regard the display of comments as properly the job of the relevant backslash command (though many of them do so only in verbose mode) rather than something that \dd should be responsible for. However, a handful of object types have no backlash command, so make \dd give information about those. Josh Kupershmidt
2011-08-10Remove wal_sender_delay GUC, because it's no longer useful.Tom Lane
The latch infrastructure is now capable of detecting all cases where the walsender loop needs to wake up, so there is no reason to have an arbitrary timeout. Also, modify the walsender loop logic to follow the standard pattern of ResetLatch, test for work to do, WaitLatch. The previous coding was both hard to follow and buggy: it would sometimes busy-loop despite having nothing available to do, eg between receipt of a signal and the next time it was caught up with new WAL, and it also had interesting choices like deciding to update to WALSNDSTATE_STREAMING on the strength of information known to be obsolete.
2011-08-08Teach psql to display the comments on SQL/MED objects in verbose mode.Robert Haas
The relevant backslash commands already exist, so we're just adding an additional column. With this commit, all objects that have psql backslash commands and accept comments should now display those comments at least in verbose mode. Josh Kupershmidt, with doc additions by me.
2011-08-08Teach psql to display the comments on conversions and domains.Robert Haas
\dc and \dD now accept a "+" option, which will cause the comments to be displayed. Along the way, correct a few oversights in the previous commit in this area, 3b17efdfdd846c9bfad1637686e6f18198ea3df5 - namely, (1) when \dL+ is used, make description still be the last column, for consistency with what we've done elsewhere; and (2) document the difference between \dC and \dC+. Josh Kupershmidt, with a couple of doc changes by me.
2011-08-08Teach vacuumlo to limit number of removals, via new -l option.Robert Haas
Also, handle failure better: don't just blindly keep trying to delete stuff after the transaction has already failed. Tim Lewis, reviewed by Josh Kupershmidt, with further hacking by me.
2011-08-07Add "Compatibility" section to ALTER EXTENSION reference pagePeter Eisentraut
Almost all other pages have one; this one must have been forgotten.
2011-08-07Remove whitespace from end of linesPeter Eisentraut
2011-08-07Rename "Example" sections to "Examples" in dblink chapterPeter Eisentraut
For consistency with other man pages.
2011-08-07Fix a whitespace issue with the man pagesPeter Eisentraut
There is what may actually be a mistake in our markup. The problem is in a situation like <para> <command>FOO</command> is ... there is strictly speaking a line break before "FOO". In the HTML output, this does not appear to be a problem, but in the man page output, this shows up, so you get double blank lines at odd places. So far, we have attempted to work around this with an XSL hack, but that causes other problems, such as creating run-ins in places like <acronym>SQL</acronym> <command>COPY</command> So fix the problem properly by removing the extra whitespace. I only fixed the problems that affect the man page output, not all the places.
2011-08-05Fix thinko in documentation of local_preload_libraries.Tom Lane
Somebody added a cross-reference to shared_preload_libraries, but wrote the wrong variable name when they did it (and didn't bother to make it a link either). Spotted by Christoph Anton Mitterer.
2011-08-05Allow per-column foreign data wrapper options.Robert Haas
Shigeru Hanada, with fairly minor editing by me.
2011-08-04Fix markup for recent wal_level clarification.Bruce Momjian
Backpatch to 9.1 and 9.0.
2011-08-04Teach psql to display comments on languages and casts.Robert Haas
The output of \dL (list languages) is fairly narrow, so we just always display the comment. \dC (list casts) can get fairly wide, so we only display comments if the new \dC+ option is specified. Josh Kupershmidt
2011-08-04In documentaiton, clarify which commands have reduced WAL volume forBruce Momjian
wal_level = minimum. Backpatch to 9.1 and 9.0.
2011-07-27Fix typo.Robert Haas
Noted by Josh Kupershmidt.
2011-07-26Clarify which relkinds accept column comments.Robert Haas
Per discussion with Josh Kupershmidt.
2011-07-25Improvements to SQL/MED documentation.Robert Haas
Laurenz Albe, somewhat modified by me.
2011-07-25Add new pgbench options, --tablespace and --index-tablespace.Robert Haas
Per a request from Greg Smith.
2011-07-25Add new pgbench switch, --unlogged-tables.Robert Haas
This entails adjusting pgbench to use getopt_long() rather than getopt().
2011-07-24Change EDITOR_LINENUMBER_SWITCH to an environment variablePeter Eisentraut
Also change "switch" to "arg" because "switch" is a bit of a sloppy term. So the environment variable is called PSQL_EDITOR_LINENUMBER_ARG. Set "+" as hardcoded default value on Unix (since "vi" is the hardcoded default editor), so many users won't have to configure this at all. Move the documentation around a bit to centralize the editor configuration under environment variables, rather than repeating bits of it under every backslash command that invokes an editor.
2011-07-21Make xpath() do something useful with XPath expressions that return scalars.Tom Lane
Previously, xpath() simply returned an empty array if the expression did not yield a node set. This is useless for expressions that return scalars, such as one with name() at the top level. Arrange to return the scalar value as a single-element xml array, instead. (String values will be suitably escaped.) This change will also cause xpath_exists() to return true, not false, for such expressions. Florian Pflug, reviewed by Radoslaw Smogura
2011-07-20Support SECURITY LABEL on databases, tablespaces, and roles.Robert Haas
This requires a new shared catalog, pg_shseclabel. Along the way, fix the security_label regression tests so that they don't monkey with the labels of any pre-existing objects. This is unlikely to matter in practice, since only the label for the "dummy" provider was being manipulated. But this way still seems cleaner. KaiGai Kohei, with fairly extensive hacking by me.
2011-07-20Improve sepgsql and SECURITY LABEL documentation.Robert Haas
KaiGai Kohei, based on feedback from Yeb Havinga, with some corrections by me.
2011-07-20Minor improvement to pg_seclabel documentation.Robert Haas
This is a bit more consistent with the way pg_description is documented, and also include a useful cross-link.
2011-07-19Minor doc additions for cascading replication.Simon Riggs
2011-07-19Cascading replication feature for streaming log-based replication.Simon Riggs
Standby servers can now have WALSender processes, which can work with either WALReceiver or archive_commands to pass data. Fully updated docs, including new conceptual terms of sending server, upstream and downstream servers. WALSenders terminated when promote to master. Fujii Masao, review, rework and doc rewrite by Simon Riggs
2011-07-18Add GET STACKED DIAGNOSTICS plpgsql command to retrieve exception info.Tom Lane
This is more SQL-spec-compliant, more easily extensible, and better performing than the old method of inventing special variables. Pavel Stehule, reviewed by Shigeru Hanada and David Wheeler
2011-07-18Avoid index rebuild for no-rewrite ALTER TABLE .. ALTER TYPE.Robert Haas
Noah Misch. Review and minor cosmetic changes by me.