[COMMITTERS] pgsql: Fix incorrect description of udt_privileges view in documentatio

2016-07-28 Thread Fujii Masao
Fix incorrect description of udt_privileges view in documentation. The description of udt_privileges view contained an incorrect copy-pasted word. Back-patch to 9.2 where udt_privileges view was added. Author: Alexander Law Branch -- REL9_5_STABLE Details --- http://git.postgresql.org/

[COMMITTERS] pgsql: Fix incorrect description of udt_privileges view in documentatio

2016-07-28 Thread Fujii Masao
Fix incorrect description of udt_privileges view in documentation. The description of udt_privileges view contained an incorrect copy-pasted word. Back-patch to 9.2 where udt_privileges view was added. Author: Alexander Law Branch -- REL9_2_STABLE Details --- http://git.postgresql.org/

[COMMITTERS] pgsql: Fix incorrect description of udt_privileges view in documentatio

2016-07-28 Thread Fujii Masao
Fix incorrect description of udt_privileges view in documentation. The description of udt_privileges view contained an incorrect copy-pasted word. Back-patch to 9.2 where udt_privileges view was added. Author: Alexander Law Branch -- REL9_3_STABLE Details --- http://git.postgresql.org/

[COMMITTERS] pgsql: Fix incorrect description of udt_privileges view in documentatio

2016-07-28 Thread Fujii Masao
Fix incorrect description of udt_privileges view in documentation. The description of udt_privileges view contained an incorrect copy-pasted word. Back-patch to 9.2 where udt_privileges view was added. Author: Alexander Law Branch -- master Details --- http://git.postgresql.org/pg/comm

[COMMITTERS] pgsql: Fix incorrect description of udt_privileges view in documentatio

2016-07-28 Thread Fujii Masao
Fix incorrect description of udt_privileges view in documentation. The description of udt_privileges view contained an incorrect copy-pasted word. Back-patch to 9.2 where udt_privileges view was added. Author: Alexander Law Branch -- REL9_4_STABLE Details --- http://git.postgresql.org/

[COMMITTERS] pgsql: Register atexit hook only once in pg_upgrade.

2016-07-28 Thread Tom Lane
Register atexit hook only once in pg_upgrade. start_postmaster() registered stop_postmaster_atexit as an atexit(3) callback each time through, although the obvious intention was to do so only once per program run. The extra registrations were harmless, so long as we didn't exceed ATEXIT_MAX, but

[COMMITTERS] pgsql: Register atexit hook only once in pg_upgrade.

2016-07-28 Thread Tom Lane
Register atexit hook only once in pg_upgrade. start_postmaster() registered stop_postmaster_atexit as an atexit(3) callback each time through, although the obvious intention was to do so only once per program run. The extra registrations were harmless, so long as we didn't exceed ATEXIT_MAX, but

[COMMITTERS] pgsql: Register atexit hook only once in pg_upgrade.

2016-07-28 Thread Tom Lane
Register atexit hook only once in pg_upgrade. start_postmaster() registered stop_postmaster_atexit as an atexit(3) callback each time through, although the obvious intention was to do so only once per program run. The extra registrations were harmless, so long as we didn't exceed ATEXIT_MAX, but

[COMMITTERS] pgsql: Register atexit hook only once in pg_upgrade.

2016-07-28 Thread Tom Lane
Register atexit hook only once in pg_upgrade. start_postmaster() registered stop_postmaster_atexit as an atexit(3) callback each time through, although the obvious intention was to do so only once per program run. The extra registrations were harmless, so long as we didn't exceed ATEXIT_MAX, but

[COMMITTERS] pgsql: Register atexit hook only once in pg_upgrade.

2016-07-28 Thread Tom Lane
Register atexit hook only once in pg_upgrade. start_postmaster() registered stop_postmaster_atexit as an atexit(3) callback each time through, although the obvious intention was to do so only once per program run. The extra registrations were harmless, so long as we didn't exceed ATEXIT_MAX, but

[COMMITTERS] pgsql: Register atexit hook only once in pg_upgrade.

2016-07-28 Thread Tom Lane
Register atexit hook only once in pg_upgrade. start_postmaster() registered stop_postmaster_atexit as an atexit(3) callback each time through, although the obvious intention was to do so only once per program run. The extra registrations were harmless, so long as we didn't exceed ATEXIT_MAX, but

[COMMITTERS] pgsql: Improve documentation about CREATE TABLE ... LIKE.

2016-07-28 Thread Tom Lane
Improve documentation about CREATE TABLE ... LIKE. The docs failed to explain that LIKE INCLUDING INDEXES would not preserve the names of indexes and associated constraints. Also, it wasn't mentioned that EXCLUDE constraints would be copied by this option. The latter oversight seems enough of a

[COMMITTERS] pgsql: Improve documentation about CREATE TABLE ... LIKE.

2016-07-28 Thread Tom Lane
Improve documentation about CREATE TABLE ... LIKE. The docs failed to explain that LIKE INCLUDING INDEXES would not preserve the names of indexes and associated constraints. Also, it wasn't mentioned that EXCLUDE constraints would be copied by this option. The latter oversight seems enough of a

[COMMITTERS] pgsql: Improve documentation about CREATE TABLE ... LIKE.

2016-07-28 Thread Tom Lane
Improve documentation about CREATE TABLE ... LIKE. The docs failed to explain that LIKE INCLUDING INDEXES would not preserve the names of indexes and associated constraints. Also, it wasn't mentioned that EXCLUDE constraints would be copied by this option. The latter oversight seems enough of a

[COMMITTERS] pgsql: Improve documentation about CREATE TABLE ... LIKE.

2016-07-28 Thread Tom Lane
Improve documentation about CREATE TABLE ... LIKE. The docs failed to explain that LIKE INCLUDING INDEXES would not preserve the names of indexes and associated constraints. Also, it wasn't mentioned that EXCLUDE constraints would be copied by this option. The latter oversight seems enough of a

[COMMITTERS] pgsql: Improve documentation about CREATE TABLE ... LIKE.

2016-07-28 Thread Tom Lane
Improve documentation about CREATE TABLE ... LIKE. The docs failed to explain that LIKE INCLUDING INDEXES would not preserve the names of indexes and associated constraints. Also, it wasn't mentioned that EXCLUDE constraints would be copied by this option. The latter oversight seems enough of a

[COMMITTERS] pgsql: Improve documentation about CREATE TABLE ... LIKE.

2016-07-28 Thread Tom Lane
Improve documentation about CREATE TABLE ... LIKE. The docs failed to explain that LIKE INCLUDING INDEXES would not preserve the names of indexes and associated constraints. Also, it wasn't mentioned that EXCLUDE constraints would be copied by this option. The latter oversight seems enough of a

[COMMITTERS] pgsql: Fix assorted fallout from IS [NOT] NULL patch.

2016-07-28 Thread Tom Lane
Fix assorted fallout from IS [NOT] NULL patch. Commits 4452000f3 et al established semantics for NullTest.argisrow that are a bit different from its initial conception: rather than being merely a cache of whether we've determined the input to have composite type, the flag now has the further meani

[COMMITTERS] pgsql: Fix assorted fallout from IS [NOT] NULL patch.

2016-07-28 Thread Tom Lane
Fix assorted fallout from IS [NOT] NULL patch. Commits 4452000f3 et al established semantics for NullTest.argisrow that are a bit different from its initial conception: rather than being merely a cache of whether we've determined the input to have composite type, the flag now has the further meani

[COMMITTERS] pgsql: Fix assorted fallout from IS [NOT] NULL patch.

2016-07-28 Thread Tom Lane
Fix assorted fallout from IS [NOT] NULL patch. Commits 4452000f3 et al established semantics for NullTest.argisrow that are a bit different from its initial conception: rather than being merely a cache of whether we've determined the input to have composite type, the flag now has the further meani

[COMMITTERS] pgsql: Fix assorted fallout from IS [NOT] NULL patch.

2016-07-28 Thread Tom Lane
Fix assorted fallout from IS [NOT] NULL patch. Commits 4452000f3 et al established semantics for NullTest.argisrow that are a bit different from its initial conception: rather than being merely a cache of whether we've determined the input to have composite type, the flag now has the further meani

[COMMITTERS] pgsql: Fix assorted fallout from IS [NOT] NULL patch.

2016-07-28 Thread Tom Lane
Fix assorted fallout from IS [NOT] NULL patch. Commits 4452000f3 et al established semantics for NullTest.argisrow that are a bit different from its initial conception: rather than being merely a cache of whether we've determined the input to have composite type, the flag now has the further meani

[COMMITTERS] pgsql: Fix assorted fallout from IS [NOT] NULL patch.

2016-07-28 Thread Tom Lane
Fix assorted fallout from IS [NOT] NULL patch. Commits 4452000f3 et al established semantics for NullTest.argisrow that are a bit different from its initial conception: rather than being merely a cache of whether we've determined the input to have composite type, the flag now has the further meani

[COMMITTERS] pgsql: Message style improvements

2016-07-28 Thread Peter Eisentraut
Message style improvements Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/ef5d4a3cfacb009526aac3e01a26f4b54d70bfd7 Modified Files -- src/backend/access/brin/brin_validate.c | 18 +- src/backend/access/gin/ginvalidate.c| 16

[COMMITTERS] pgsql: Teach parser to transform "x IS [NOT] DISTINCT FROM NULL" to a N

2016-07-28 Thread Tom Lane
Teach parser to transform "x IS [NOT] DISTINCT FROM NULL" to a NullTest. Now that we've nailed down the principle that NullTest with !argisrow is fully equivalent to SQL's IS [NOT] DISTINCT FROM NULL, let's teach the parser about it. This produces a slightly more compact parse tree and is much mo

[COMMITTERS] pgsql: Guard against empty buffer in gets_fromFile()'s check for a newl

2016-07-28 Thread Tom Lane
Guard against empty buffer in gets_fromFile()'s check for a newline. Per the fgets() specification, it cannot return without reading some data unless it reports EOF or error. So the code here assumed that the data buffer would necessarily be nonempty when we go to check for a newline having been

[COMMITTERS] pgsql: Guard against empty buffer in gets_fromFile()'s check for a newl

2016-07-28 Thread Tom Lane
Guard against empty buffer in gets_fromFile()'s check for a newline. Per the fgets() specification, it cannot return without reading some data unless it reports EOF or error. So the code here assumed that the data buffer would necessarily be nonempty when we go to check for a newline having been

[COMMITTERS] pgsql: Guard against empty buffer in gets_fromFile()'s check for a newl

2016-07-28 Thread Tom Lane
Guard against empty buffer in gets_fromFile()'s check for a newline. Per the fgets() specification, it cannot return without reading some data unless it reports EOF or error. So the code here assumed that the data buffer would necessarily be nonempty when we go to check for a newline having been

[COMMITTERS] pgsql: Guard against empty buffer in gets_fromFile()'s check for a newl

2016-07-28 Thread Tom Lane
Guard against empty buffer in gets_fromFile()'s check for a newline. Per the fgets() specification, it cannot return without reading some data unless it reports EOF or error. So the code here assumed that the data buffer would necessarily be nonempty when we go to check for a newline having been

[COMMITTERS] pgsql: Guard against empty buffer in gets_fromFile()'s check for a newl

2016-07-28 Thread Tom Lane
Guard against empty buffer in gets_fromFile()'s check for a newline. Per the fgets() specification, it cannot return without reading some data unless it reports EOF or error. So the code here assumed that the data buffer would necessarily be nonempty when we go to check for a newline having been

[COMMITTERS] pgsql: Guard against empty buffer in gets_fromFile()'s check for a newl

2016-07-28 Thread Tom Lane
Guard against empty buffer in gets_fromFile()'s check for a newline. Per the fgets() specification, it cannot return without reading some data unless it reports EOF or error. So the code here assumed that the data buffer would necessarily be nonempty when we go to check for a newline having been

[COMMITTERS] pgsql: Documentation spell checking and markup improvements

2016-07-28 Thread Peter Eisentraut
Documentation spell checking and markup improvements Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/5676da2d01bb6ba437cf05d748f04b3d31676922 Modified Files -- doc/src/sgml/bloom.sgml | 4 +- doc/src/sgml/brin.sgml | 26 ++