summaryrefslogtreecommitdiff
path: root/doc/src/sgml
AgeCommit message (Collapse)Author
2016-05-17Fix typoMagnus Hagander
Amit Langote
2016-05-13doc: Fix typoPeter Eisentraut
From: Alexander Law <exclusion@gmail.com>
2016-05-13doc: Update link to external sitePeter Eisentraut
2016-05-12doc: Document default of max_worker_processesPeter Eisentraut
found by David G. Johnston <david.g.johnston@gmail.com>
2016-05-12doc: Small wording change for clarityPeter Eisentraut
From: Martín Marqués <martin@2ndquadrant.com>
2016-05-11Update key words table for 9.6Peter Eisentraut
2016-05-08Improve 9.6 release notes.Tom Lane
Incorporate some suggestions from David Johnston, and update through today.
2016-05-08Docs: create some user-facing documentation about index-only scans.Tom Lane
We didn't have any real user documentation about how index-only scans work or how to design indexes to exploit them. Remedy that. Per gripe from David Johnston.
2016-05-07Release notes for 9.5.3, 9.4.8, 9.3.13, 9.2.17, 9.1.22.Tom Lane
2016-05-07Docs: improve warnings about nextval() not producing gapless sequences.Tom Lane
In the documentation for nextval(), point out explicitly that INSERT ... ON CONFLICT will call nextval() if needed for the insertion case, whether or not it ends up following the ON CONFLICT path. This seems to be a matter of some confusion, cf bug #14126, so let's be clear about it. Also mention the issue in the CREATE SEQUENCE reference page, since that is another place where people might expect such things to be covered. Minor wording improvements nearby, as well. Back-patch to 9.5 where ON CONFLICT was introduced.
2016-05-07Update back-branch release notes for the last few commits.Tom Lane
OpenSSL error queue fix no longer needs to be documented under 9.6.
2016-05-06First-draft release notes for 9.5.3.Tom Lane
As usual, the release notes for other branches will be made by cutting these down, but put them up for community review first.
2016-05-06Docs: fix alphabetization of table entries.Tom Lane
Fabien Coelho
2016-05-06Docs: minor copy-editing for GSSAPI/SSPI authentication docs.Tom Lane
Describe compat_realm = 0 as "disabled" not "enabled", per discussion with Christian Ullrich. I failed to resist the temptation to do some other minor copy-editing in the same area.
2016-05-06More small 9.6 release note improvements.Tom Lane
Corrections per Jeff Janes, Christian Ullrich, and Daniel Vérité.
2016-05-06Docs: fix \crosstabview example.Tom Lane
This example missed being updated when we redefined \crosstabview's argument processing. Daniel Vérité
2016-05-06Fix hash index vs "snapshot too old" problemmsKevin Grittner
Hash indexes are not WAL-logged, and so do not maintain the LSN of index pages. Since the "snapshot too old" feature counts on detecting error conditions using the LSN of a table and all indexes on it, this makes it impossible to safely do early vacuuming on any table with a hash index, so add this to the tests for whether the xid used to vacuum a table can be adjusted based on old_snapshot_threshold. While at it, add a paragraph to the docs for old_snapshot_threshold which specifically mentions this and other aspects of the feature which may otherwise surprise users. Problem reported and patch reviewed by Amit Kapila
2016-05-05Further 9.6 release note improvements.Tom Lane
Call out the major enhancements in this release as identified by pgsql-advocacy discussion, and rearrange some of the entries to make those items more prominent. Other minor improvements per advice from Vitaly Burovoy, Masahiko Sawada, Peter Geoghegan, and Andres Freund.
2016-05-05Rename tsvector delete() to ts_delete(), and filter() to ts_filter().Tom Lane
The similarity of the original names to SQL keywords seems like a bad idea. Rename them before we're stuck with 'em forever. In passing, minor code and docs cleanup. Discussion: <4875.1462210058@sss.pgh.pa.us>
2016-05-05Small 9.6 release note improvements.Tom Lane
Sync release notes through today, and incorporate some suggestions from Robert Haas.
2016-05-05Rename pgbench min/max to least/greatest, and fix handling of double args.Tom Lane
These functions behave like the backend's least/greatest functions, not like min/max, so the originally-chosen names invite confusion. Per discussion, rename to least/greatest. I also took it upon myself to make them return double if any input is double. The previous behavior of silently coercing all inputs to int surely does not meet the principle of least astonishment. Copy-edit some of the other new functions' documentation, too.
2016-05-05First-draft release notes for Postgres 9.6.Tom Lane
These are just of beta quality, but we're only at beta ... the section about parallel query, in particular, could doubtless use more work.
2016-05-05Fix ordering/categorization of some recently-added system views.Tom Lane
Somebody added pg_replication_origin, pg_replication_origin_status and pg_replication_slots to catalogs.sgml without a whole lot of concern for either alphabetical order or the difference between a table and a view. Clean up the mess. Back-patch to 9.5, not so much because this is critical as because if I don't it will result in a cross-branch divergence in release-9.5.sgml, which would be a maintenance hazard.
2016-05-04doc: Fix more typosPeter Eisentraut
From: Alexander Law <exclusion@gmail.com>
2016-05-03doc: Fix typosPeter Eisentraut
From: Alexander Law <exclusion@gmail.com>
2016-05-02Docs: improve index entries for new tsvector functions.Tom Lane
Fix typos, reword some overly general index entries.
2016-05-01doc: Fix typoPeter Eisentraut
From: Guillaume Lelarge <guillaume@lelarge.info>
2016-04-30Update contrib/unaccent documentation about its unaccent.rules file.Tom Lane
Commit 1bbd52cb9a4aa61a didn't bother with such niceties.
2016-04-30Remove warning about num_sync being too large in synchronous_standby_names.Tom Lane
If we're not going to reject such setups entirely, throwing a WARNING in check_synchronous_standby_names() is unhelpful, because it will cause the warning to be logged again every time the postmaster receives SIGHUP. Per discussion, just remove the warning. In passing, improve the documentation for synchronous_commit, which had not gotten the word that now there can be more than one synchronous standby.
2016-04-29doc: Minor wording changesPeter Eisentraut
From: Dmitry Igrishin <dmitigr@gmail.com>
2016-04-29Support building with Visual Studio 2015Andrew Dunstan
Adjust the way we detect the locale. As a result the minumum Windows version supported by VS2015 and later is Windows Vista. Add some tweaks to remove new compiler warnings. Remove documentation references to the now obsolete msysGit. Michael Paquier, somewhat edited by me, reviewed by Christian Ullrich. Backpatch to 9.5
2016-04-27Clean up parsing of synchronous_standby_names GUC variable.Tom Lane
Commit 989be0810dffd08b added a flex/bison lexer/parser to interpret synchronous_standby_names. It was done in a pretty crufty way, though, making assorted end-use sites responsible for calling the parser at the right times. That was not only vulnerable to errors of omission, but made it possible that lexer/parser errors occur at very undesirable times, and created memory leakages even if there was no error. Instead, perform the parsing once during check_synchronous_standby_names and let guc.c manage the resulting data. To do that, we have to flatten the parsed representation into a single hunk of malloc'd memory, but that is not very hard. While at it, work a little harder on making useful error reports for parsing problems; the previous code felt that "synchronous_standby_names parser returned 1" was an appropriate user-facing error message. (To be fair, it did also log a syntax error message, but separately from the GUC problem report, which is at best confusing.) It had some outright bugs in the face of invalid input, too. I (tgl) also concluded that we need to restrict unquoted names in synchronous_standby_names to be just SQL identifiers. The previous coding would accept darn near anything, which (1) makes the quoting convention both nearly-unnecessary and formally ambiguous, (2) makes it very hard to understand what is a syntax error and what is a creative interpretation of the input as a standby name, and (3) makes it impossible to further extend the syntax in future without a compatibility break. I presume that we're intending future extensions of the syntax, else this parsing infrastructure is massive overkill, so (3) is an important objection. Since we've taken a compatibility hit for non-identifier names with this change anyway, we might as well lock things down now and insist that users use double quotes for standby names that aren't identifiers. Kyotaro Horiguchi and Tom Lane
2016-04-26Fix tsearch docsTeodor Sigaev
Remove mention of setweight(tsquery) which wasn't included in 9.6. Also replace old forgotten phrase operator to new one. Dmitry Ivanov
2016-04-26Enable parallel query by default.Robert Haas
Change max_parallel_degree default from 0 to 2. It is possible that this is not a good idea, or that we should go with 1 worker rather than 2, but we won't find out without trying it. Along the way, reword the documentation for max_parallel_degree a little bit to hopefully make it more clear. Discussion: 20160420174631.3qjjhpwsvvx5bau5@alap3.anarazel.de
2016-04-24doc: Fix typoPeter Eisentraut
From: Andreas Seltenreich <andreas.seltenreich@credativ.de>
2016-04-24Fix documentation & config inconsistencies around 428b1d6b2.Andres Freund
Several issues: 1) checkpoint_flush_after doc and code disagreed about the default 2) new GUCs were missing from postgresql.conf.sample 3) Outdated source-code comment about bgwriter_flush_after's default 4) Sub-optimal categories assigned to new GUCs 5) Docs suggested backend_flush_after is PGC_SIGHUP, but it's PGC_USERSET. 6) Spell out int as integer in the docs, as done elsewhere Reported-By: Magnus Hagander, Fujii Masao Discussion: CAHGQGwETyTG5VYQQ5C_srwxWX7RXvFcD3dKROhvAWWhoSBdmZw@mail.gmail.com
2016-04-23doc: Fix typosPeter Eisentraut
From: Erik Rijkers <er@xs4all.nl>
2016-04-20Update backup documentation for new APIsMagnus Hagander
This includes the rest of the documentation that was not included in 7117685. A larger restructure would still be wanted, but with this commit the documentation of the new features is complete.
2016-04-18Fix typo in docs.Fujii Masao
Artur Zakirov
2016-04-17doc: Document that sequences can also be extension configuration tablesPeter Eisentraut
From: Michael Paquier <michael.paquier@gmail.com>
2016-04-16doc: Change some "user" to "role" for consistency in the sectionPeter Eisentraut
suggested by Johannes Choo
2016-04-16doc: Markup improvementPeter Eisentraut
2016-04-15doc: Add missing parenthesesPeter Eisentraut
From: Alexander Law <exclusion@gmail.com>
2016-04-14Rethink \crosstabview's argument parsing logic.Tom Lane
\crosstabview interpreted its arguments in an unusual way, including doing case-insensitive matching of unquoted column names, which is surely not the right thing. Rip that out in favor of doing something equivalent to the dequoting/case-folding rules used by other psql commands. To keep it simple, change the syntax so that the optional sort column is specified as a separate argument, instead of the also-quite-unusual syntax that attached it to the colH argument with a colon. Also, rework the error messages to be closer to project style.
2016-04-14Docs: clarify description of LIMIT/OFFSET behavior.Tom Lane
Section 7.6 was a tad confusing because it specified what LIMIT NULL does, but neglected to do the same for OFFSET NULL, making this look like perhaps a special case or a wrong restatement of the bit about LIMIT ALL. Wordsmith a bit while at it. Per bug #14084.
2016-04-14Fix duplicated index entry in doc.Fujii Masao
Commit cfe96ae corrected the name of pg_logical_emit_message() in its index entry. But this typo fix caused duplicated index entry because there was another index entry for the function. Spotted by Tom Lane.
2016-04-13Improve documentation for \crosstabview.Tom Lane
Fix misleading syntax summary (there cannot be a space between colH and scolH). Provide a link from the existing crosstab() function's documentation to \crosstabview. Copy-edit the command's description. Christoph Berg and Tom Lane
2016-04-12Improve API of GenericXLogRegister().Tom Lane
Rename this function to GenericXLogRegisterBuffer() to make it clearer what it does, and leave room for other sorts of "register" actions in future. Also, replace its "bool isNew" argument with an integer flags argument, so as to allow adding more flags in future without an API break. Alexander Korotkov, adjusted slightly by me
2016-04-11Fix documented return type of pg_logical_emit_message() in func.sgml.Fujii Masao
2016-04-09Get rid of GenericXLogUnregister().Tom Lane
This routine is unsafe as implemented, because it invalidates the page image pointers returned by previous GenericXLogRegister() calls. Rather than complicate the API or the implementation to avoid that, let's just get rid of it; the use-case for having it seems much too thin to justify a lot of work here. While at it, do some wordsmithing on the SGML docs for generic WAL.