summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
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.
2011-07-18Create a "fast path" for acquiring weak relation locks.Robert Haas
When an AccessShareLock, RowShareLock, or RowExclusiveLock is requested on an unshared database relation, and we can verify that no conflicting locks can possibly be present, record the lock in a per-backend queue, stored within the PGPROC, rather than in the primary lock table. This eliminates a great deal of contention on the lock manager LWLocks. This patch also refactors the interface between GetLockStatusData() and pg_lock_status() to be a bit more abstract, so that we don't rely so heavily on the lock manager's internal representation details. The new fast path lock structures don't have a LOCK or PROCLOCK structure to return, so we mustn't depend on that for purposes of listing outstanding locks. Review by Jeff Davis.
2011-07-18Remove claim that the project is not represented in the SQL working groupPeter Eisentraut
We have a few people involved there now.
2011-07-18Note that information_schema.sql_languages was removed in SQL:2008Peter Eisentraut
2011-07-17Add pg_opfamily_is_visible.Robert Haas
We already have similar functions for many other object types, including operator classes, so it seems like we should have this one, too. Extracted from a larger patch by Josh Kupershmidt
2011-07-17Add temp_file_limit GUC parameter to constrain temporary file space usage.Tom Lane
The limit is enforced against the total amount of temp file space used by each session. Mark Kirkwood, reviewed by Cédric Villemain and Tatsuo Ishii
2011-07-16Add an errdetail_internal() ereport auxiliary routine.Tom Lane
This function supports untranslated detail messages, in the same way that errmsg_internal supports untranslated primary messages. We've needed this for some time IMO, but discussion of some cases in the SSI code provided the impetus to actually add it. Kevin Grittner, with minor adjustments by me
2011-07-15Set information_schema.tables.commit_action to nullPeter Eisentraut
The commit action of temporary tables is currently not cataloged, so we can't easily show it. The previous value was outdated from before we had different commit actions.
2011-07-15Doc clarification for pg_locks columns.Bruce Momjian
Florian Pflug
2011-07-14In docs, start window function sentence with "The asterisk (*)" ratherBruce Momjian
than "*"; it is confusing to start a sentence with a symbol.
2011-07-14Fix broken markupAlvaro Herrera
2011-07-14Set information_schema.routines.is_udt_dependent to NOPeter Eisentraut
It previously said YES, but that is incorrect.
2011-07-14Small update on suggested startup file locationsPeter Eisentraut
Debian/Ubuntu don't have a /etc/rc.d/ directory, so add some alternative names as suggestions.
2011-07-13Implement information schema interval_type columnsPeter Eisentraut
Also correct reporting of interval precision when field restrictions are specified in the typmod.
2011-07-13Use clearer woring for pg_locks columns, identifying which items areBruce Momjian
related to lock objects.
2011-07-11Fix and clarify information schema interval_precision fieldsPeter Eisentraut
The fields were previously wrongly typed as character_data; change to cardinal_number. Update the documentation and the implementation to show more clearly that this applies to a feature not available in PostgreSQL, rather than just not yet being implemented in the information schema.
2011-07-11Improve wording of documentation on default privileges.Andrew Dunstan
Per recent -hackers discussion.
2011-07-08Add item about Clang support to 9.1 release notesPeter Eisentraut
2011-07-08Message style improvementsPeter Eisentraut
2011-07-07Update examples for string-related functions.Tom Lane
In the example for decode(), show the bytea result in hex format, since that's now the default. Use an E'' string in the example for quote_literal(), so that it works regardless of the standard_conforming_strings setting. On the functions-for-binary-strings page, leave the examples as-is for readability, but add a note pointing out that they are shown in escape format. Per comments from Thom Brown. Also, improve the description for encode() and decode() a tad. Backpatch to 9.0, where bytea_output was introduced.
2011-07-07Update 9.1 release notes to reflect commits through today.Tom Lane
2011-07-07Reclassify replication-related GUC variables as "master" and "standby".Tom Lane
Per discussion, this structure seems more understandable than what was there before. Make config.sgml and postgresql.conf.sample agree. In passing do a bit of editorial work on the variable descriptions.
2011-07-07Finish disabling reduced-lock-levels-for-DDL feature.Tom Lane
Previous patch only covered the ALTER TABLE changes, not changes in other commands; and it neglected to revert the documentation changes.
2011-07-06Add \ir command to psql.Robert Haas
\ir is short for "include relative"; when used from a script, the supplied pathname will be interpreted relative to the input file, rather than to the current working directory. Gurjeet Singh, reviewed by Josh Kupershmidt, with substantial further cleanup by me.
2011-07-05Restructure foreign data wrapper chapter so it has more than one section.Tom Lane
As noted by Laurenz Albe, our SGML tools deal rather oddly with chapters having just one <sect1>. Perhaps the tooling could be fixed, but really the design of this chapter's introduction is pretty bogus anyhow. Split it into a true introduction and a <sect1> about the FDW functions, so that it reads better and dodges the lack-of-a-chapter-TOC problem.
2011-07-05Improve documentation about foreign data wrapper validator functions.Tom Lane
Modified version of a patch by Shigeru Hanada.
2011-07-05Fix typo in sslmode documentationMagnus Hagander
Per bug #6089, noted by Sidney Cadot
2011-07-05Small documentation tweaksPeter Eisentraut
2011-07-04Set user_defined_types.data_type to nullPeter Eisentraut
On re-reading the standard, this field is only used for distinct or reference types.
2011-07-04Clarify that you need ActiveState perl 5.8 *or later* to build on Windows.Heikki Linnakangas
2011-07-04Remove silent_mode. You get the same functionality with "pg_ctl -lHeikki Linnakangas
postmaster.log", or nohup. There was a small issue with LINUX_OOM_ADJ and silent_mode, namely that with silent_mode the postmaster process incorrectly used the OOM settings meant for backend processes. We certainly could've fixed that directly, but since silent_mode was redundant anyway, we might as well just remove it.
2011-07-04Reset ALTER TABLE lock levels to AccessExclusiveLock in all cases.Simon Riggs
Locks on inheritance parent remain at lower level, as they were before. Remove entry from 9.1 release notes.