summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
2013-12-18Add ALTER SYSTEM command to edit the server configuration file.Tatsuo Ishii
Patch contributed by Amit Kapila. Reviewed by Hari Babu, Masao Fujii, Boszormenyi Zoltan, Andres Freund, Greg Smith and others.
2013-12-14Allow empty target list in SELECT.Tom Lane
This fixes a problem noted as a followup to bug #8648: if a query has a semantically-empty target list, e.g. SELECT * FROM zero_column_table, ruleutils.c will dump it as a syntactically-empty target list, which was not allowed. There doesn't seem to be any reliable way to fix this by hacking ruleutils (note in particular that the originally zero-column table might since have had columns added to it); and even if we had such a fix, it would do nothing for existing dump files that might contain bad syntax. The best bet seems to be to relax the syntactic restriction. Also, add parse-analysis errors for SELECT DISTINCT with no columns (after *-expansion) and RETURNING with no columns. These cases previously produced unexpected behavior because the parsed Query looked like it had no DISTINCT or RETURNING clause, respectively. If anyone ever offers a plausible use-case for this, we could work a bit harder on making the situation distinguishable. Arguably this is a bug fix that should be back-patched, but I'm worried that there may be client apps or PLs that expect "SELECT ;" to throw a syntax error. The issue doesn't seem important enough to risk changing behavior in minor releases.
2013-12-13Fix more instances of "the the" in comments.Heikki Linnakangas
Plus one instance of "to to" in the docs.
2013-12-13Add GUC to enable WAL-logging of hint bits, even with checksums disabled.Heikki Linnakangas
WAL records of hint bit updates is useful to tools that want to examine which pages have been modified. In particular, this is required to make the pg_rewind tool safe (without checksums). This can also be used to test how much extra WAL-logging would occur if you enabled checksums, without actually enabling them (which you can't currently do without re-initdb'ing). Sawada Masahiko, docs by Samrat Revagade. Reviewed by Dilip Kumar, with further changes by me.
2013-12-13Fix double "the" in the documentationMagnus Hagander
Erik Rijkers
2013-12-12configure: Allow adding a custom string to PG_VERSIONPeter Eisentraut
This can be used to mark custom built binaries with an extra version string such as a git describe identifier or distribution package release version. From: Oskari Saarenmaa <os@ohmu.fi>
2013-12-12Fix ancient docs/comments thinko: XID comparison is mod 2^32, not 2^31.Tom Lane
Pointed out by Gianni Ciolli.
2013-12-12Improve EXPLAIN to print the grouping columns in Agg and Group nodes.Tom Lane
Per request from Kevin Grittner.
2013-12-12New autovacuum_work_mem parameterSimon Riggs
If autovacuum_work_mem is set, autovacuum workers now use this parameter in preference to maintenance_work_mem. Peter Geoghegan
2013-12-12Allow time delayed standbys and recoverySimon Riggs
Set min_recovery_apply_delay to force a delay in recovery apply for commit and restore point WAL records. Other records are replayed immediately. Delay is measured between WAL record time and local standby time. Robert Haas, Fabrízio de Royes Mello and Simon Riggs Detailed review by Mitsumasa Kondo
2013-12-12Display old and new values in pg_resetxlog -n output.Heikki Linnakangas
For extra clarity. Rajeev Rastogi, reviewed by Amit Kapila
2013-12-11PL/Perl: Add event trigger supportPeter Eisentraut
From: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
2013-12-11Add a new option, -g, to createuser, to add membership in a role.Robert Haas
Chistopher Browne, reviewed by Sameer Thakur, Amit Kapila, and Peter Eisentraut.
2013-12-10doc: Fix DocBook table column count declarationPeter Eisentraut
This was broken in d6464fdc0a591662e5e5ee1b0303932e89cb027c.
2013-12-10Add new wal_level, logical, sufficient for logical decoding.Robert Haas
When wal_level=logical, we'll log columns from the old tuple as configured by the REPLICA IDENTITY facility added in commit 07cacba983ef79be4a84fcd0e0ca3b5fcb85dd65. This makes it possible a properly-configured logical replication solution to correctly follow table updates even if they change the chosen key columns, or, with REPLICA IDENTITY FULL, even if the table has no key at all. Note that updates which do not modify the replica identity column won't log anything extra, making the choice of a good key (i.e. one that will rarely be changed) important to performance when wal_level=logical is configured. Each insert, update, or delete to a catalog table will also log the CMIN and/or CMAX values of stamped by the current transaction. This is necessary because logical decoding will require access to historical snapshots of the catalog in order to decode some data types, and the CMIN/CMAX values that we may need in order to judge row visibility may have been overwritten by the time we need them. Andres Freund, reviewed in various versions by myself, Heikki Linnakangas, KONDO Mitsumasa, and many others.
2013-12-10Rename TABLE() to ROWS FROM().Noah Misch
SQL-standard TABLE() is a subset of UNNEST(); they deal with arrays and other collection types. This feature, however, deals with set-returning functions. Use a different syntax for this feature to keep open the possibility of implementing the standard TABLE().
2013-12-09pgcrypto docs: update cpu type used in duration testingBruce Momjian
2013-12-09pgcrypto docs: update encryption timings and add relative timesBruce Momjian
Miles Elam
2013-12-07Fix a couple of typosMagnus Hagander
Noted by Peter Geoghegan
2013-12-07SSL: Support ECDH key exchangePeter Eisentraut
This sets up ECDH key exchange, when compiling against OpenSSL that supports EC. Then the ECDHE-RSA and ECDHE-ECDSA cipher suites can be used for SSL connections. The latter one means that EC keys are now usable. The reason for EC key exchange is that it's faster than DHE and it allows to go to higher security levels where RSA will be horribly slow. There is also new GUC option ssl_ecdh_curve that specifies the curve name used for ECDH. It defaults to "prime256v1", which is the most common curve in use in HTTPS. From: Marko Kreen <markokr@gmail.com> Reviewed-by: Adrian Klaver <adrian.klaver@gmail.com>
2013-12-08Expose qurey ID in pg_stat_statements view.Fujii Masao
The query ID is the internal hash identifier of the statement, and was not available in pg_stat_statements view so far. Daniel Farina, Sameer Thakur and Peter Geoghegan, reviewed by me.
2013-12-07SSL: Add configuration option to prefer server cipher orderPeter Eisentraut
By default, OpenSSL (and SSL/TLS in general) lets the client cipher order take priority. This is OK for browsers where the ciphers were tuned, but few PostgreSQL client libraries make the cipher order configurable. So it makes sense to have the cipher order in postgresql.conf take priority over client defaults. This patch adds the setting "ssl_prefer_server_ciphers" that can be turned on so that server cipher order is preferred. Per discussion, this now defaults to on. From: Marko Kreen <markokr@gmail.com> Reviewed-by: Adrian Klaver <adrian.klaver@gmail.com>
2013-12-06docs: update partition encryption optionsBruce Momjian
Text from Adam Vande More
2013-12-06docs: clarify SSL certificate authority chain docsBruce Momjian
Previously, the requirements of how intermediate certificates were handled and their chain to root certificates was unclear.
2013-12-04doc: split long query into multiple linesBruce Momjian
Report from Erik Rijkers
2013-12-03libpq: change PQconndefaults() to ignore invalid service filesBruce Momjian
Previously missing or invalid service files returned NULL. Also fix pg_upgrade to report "out of memory" for a null return from PQconndefaults(). Patch by Steve Singer, rewritten by me
2013-12-02doc: Refine documentation about recovery command exist statusPeter Eisentraut
Add more documentation about how different exit codes and signals are handled in each case. Reviewed-by: Peter Geoghegan <pg@heroku.com>
2013-12-02Update release notes for 9.3.2, 9.2.6, 9.1.11, 9.0.15, 8.4.19.Tom Lane
2013-12-02doc: update wording of ineffective SET and ABORT commandsBruce Momjian
Wording by Alvaro Herrera
2013-12-02Improve draft release notes.Tom Lane
Per suggestions from Andres Freund. Also fix spelling of Sergey Burladyan's name.
2013-12-01Draft release notes for 9.3.2.Tom Lane
I'm putting these up for review before I start to extract the relevant subsets for the older branches. It'll be easier to make any suggested wording improvements at this stage.
2013-12-01doc: Disable preface.autolabel in XSLTPeter Eisentraut
The makes the output more consistent with the existing DSSSL setup.
2013-11-30Editorial corrections to the October 2013 minor-release notes.Tom Lane
This is mostly to fix incorrect migration instructions: since the preceding minor releases advised reindexing some GIST indexes, it's important that we back-link to that advice rather than earlier instances. Also improve some bug descriptions and fix a few typos. No back-patch yet; these files will get copied into the back branches later in the release process.
2013-11-29doc: Simplify handling of variablelists in XSLT buildPeter Eisentraut
The previously used custom template is no longer necessary because parameters provided by the standard style sheet can achieve the same outcome.
2013-11-29doc: Enhance documentation of ssl_ciphers setting a bitPeter Eisentraut
2013-11-28doc: Allow selecting web site CSS style sheet in XSLT HTML buildPeter Eisentraut
2013-11-27doc: Set chunk.first.sections in XSLT, for consistency with DSSSL outputPeter Eisentraut
2013-11-27pg_buffercache docs: adjust order of fieldsBruce Momjian
Adjust order of fields to match view order. Jaime Casanova
2013-11-27doc: Put data types in alphabetical orderPeter Eisentraut
From: Andreas Karlsson <andreas@proxel.se>
2013-11-27Minor correction of READ COMMITTED isolation level docs.Kevin Grittner
Per report from AK
2013-11-27Documentation fix for ecpg.Michael Meskes
The latest fixes removed a limitation that was still in the docs, so Zoltan updated the docs, too.
2013-11-27Add --xlogdir option to pg_basebackup, for specifying the pg_xlog directory.Fujii Masao
Haribabu kommi, slightly modified by me.
2013-11-27Fix typo in release note.Fujii Masao
Backpatch to 9.1. Josh Kupershmidt
2013-11-26Implement information_schema.parameters.parameter_default columnPeter Eisentraut
Reviewed-by: Ali Dar <ali.munir.dar@gmail.com> Reviewed-by: Amit Khandekar <amit.khandekar@enterprisedb.com> Reviewed-by: Rodolfo Campero <rodolfo.campero@anachronics.com>
2013-11-26doc: Add id to index in XSLT buildPeter Eisentraut
That way, the HTML file name of the index will be the same as currently for the DSSSL build.
2013-11-25Change SET LOCAL/CONSTRAINTS/TRANSACTION and ABORT behaviorBruce Momjian
Change SET LOCAL/CONSTRAINTS/TRANSACTION behavior outside of a transaction block from error (post-9.3) to warning. (Was nothing in <= 9.3.) Also change ABORT outside of a transaction block from notice to warning.
2013-11-25More improvement to comment parsing in ecpg.Michael Meskes
ECPG is not supposed to allow and output nested comments in C. These comments are only allowed in the SQL parts and must not be written into the C file. Also the different handling of different comments is documented.
2013-11-23PL/Tcl: Add event trigger supportPeter Eisentraut
From: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
2013-11-21Support multi-argument UNNEST(), and TABLE() syntax for multiple functions.Tom Lane
This patch adds the ability to write TABLE( function1(), function2(), ...) as a single FROM-clause entry. The result is the concatenation of the first row from each function, followed by the second row from each function, etc; with NULLs inserted if any function produces fewer rows than others. This is believed to be a much more useful behavior than what Postgres currently does with multiple SRFs in a SELECT list. This syntax also provides a reasonable way to combine use of column definition lists with WITH ORDINALITY: put the column definition list inside TABLE(), where it's clear that it doesn't control the ordinality column as well. Also implement SQL-compliant multiple-argument UNNEST(), by turning UNNEST(a,b,c) into TABLE(unnest(a), unnest(b), unnest(c)). The SQL standard specifies TABLE() with only a single function, not multiple functions, and it seems to require an implicit UNNEST() which is not what this patch does. There may be something wrong with that reading of the spec, though, because if it's right then the spec's TABLE() is just a pointless alternative spelling of UNNEST(). After further review of that, we might choose to adopt a different syntax for what this patch does, but in any case this functionality seems clearly worthwhile. Andrew Gierth, reviewed by Zoltán Böszörményi and Heikki Linnakangas, and significantly revised by me
2013-11-19docs: update page format to specify page checksum fieldBruce Momjian
Backpatch to 9.3 Per report from Steffen Hildebrandt