pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Improve documentation about CREATE INDEX CONCURRENTLY.
12+ messages / 1 participants
[nested] [flat]

* pgsql: Improve documentation about CREATE INDEX CONCURRENTLY.
@ 2016-02-16 18:43 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 12+ messages in thread

From: Tom Lane @ 2016-02-16 18:43 UTC (permalink / raw)
  To: pgsql-committers

Improve documentation about CREATE INDEX CONCURRENTLY.

Clarify the description of which transactions will block a CREATE INDEX
CONCURRENTLY command from proceeding, and mention that the index might
still not be usable after CREATE INDEX completes.  (This happens if the
index build detected broken HOT chains, so that pg_index.indcheckxmin gets
set, and there are open old transactions preventing the xmin horizon from
advancing past the index's initial creation.  I didn't want to explain what
broken HOT chains are, though, so I omitted an explanation of exactly when
old transactions prevent the index from being used.)

Per discussion with Chris Travers.  Back-patch to all supported branches,
since the same text appears in all of them.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a65313f28bfc264573a066271a11172d109dc2c4

Modified Files
--------------
doc/src/sgml/ref/create_index.sgml | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* pgsql: Improve documentation about CREATE INDEX CONCURRENTLY.
@ 2016-02-16 18:43 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 12+ messages in thread

From: Tom Lane @ 2016-02-16 18:43 UTC (permalink / raw)
  To: pgsql-committers

Improve documentation about CREATE INDEX CONCURRENTLY.

Clarify the description of which transactions will block a CREATE INDEX
CONCURRENTLY command from proceeding, and mention that the index might
still not be usable after CREATE INDEX completes.  (This happens if the
index build detected broken HOT chains, so that pg_index.indcheckxmin gets
set, and there are open old transactions preventing the xmin horizon from
advancing past the index's initial creation.  I didn't want to explain what
broken HOT chains are, though, so I omitted an explanation of exactly when
old transactions prevent the index from being used.)

Per discussion with Chris Travers.  Back-patch to all supported branches,
since the same text appears in all of them.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/6ce8236ff40c8b5aeea93d2a155be1ef3210b8c4

Modified Files
--------------
doc/src/sgml/ref/create_index.sgml | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* pgsql: Improve documentation about CREATE INDEX CONCURRENTLY.
@ 2016-02-16 18:43 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 12+ messages in thread

From: Tom Lane @ 2016-02-16 18:43 UTC (permalink / raw)
  To: pgsql-committers

Improve documentation about CREATE INDEX CONCURRENTLY.

Clarify the description of which transactions will block a CREATE INDEX
CONCURRENTLY command from proceeding, and mention that the index might
still not be usable after CREATE INDEX completes.  (This happens if the
index build detected broken HOT chains, so that pg_index.indcheckxmin gets
set, and there are open old transactions preventing the xmin horizon from
advancing past the index's initial creation.  I didn't want to explain what
broken HOT chains are, though, so I omitted an explanation of exactly when
old transactions prevent the index from being used.)

Per discussion with Chris Travers.  Back-patch to all supported branches,
since the same text appears in all of them.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/da5cf6ace1cf0b14085242696b89742d3979920a

Modified Files
--------------
doc/src/sgml/ref/create_index.sgml | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* pgsql: Improve documentation about CREATE INDEX CONCURRENTLY.
@ 2016-02-16 18:43 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 12+ messages in thread

From: Tom Lane @ 2016-02-16 18:43 UTC (permalink / raw)
  To: pgsql-committers

Improve documentation about CREATE INDEX CONCURRENTLY.

Clarify the description of which transactions will block a CREATE INDEX
CONCURRENTLY command from proceeding, and mention that the index might
still not be usable after CREATE INDEX completes.  (This happens if the
index build detected broken HOT chains, so that pg_index.indcheckxmin gets
set, and there are open old transactions preventing the xmin horizon from
advancing past the index's initial creation.  I didn't want to explain what
broken HOT chains are, though, so I omitted an explanation of exactly when
old transactions prevent the index from being used.)

Per discussion with Chris Travers.  Back-patch to all supported branches,
since the same text appears in all of them.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/0d670b934fb2551f0affec8bacbc16d9ea3fdf47

Modified Files
--------------
doc/src/sgml/ref/create_index.sgml | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* pgsql: Improve documentation about CREATE INDEX CONCURRENTLY.
@ 2016-02-16 18:43 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 12+ messages in thread

From: Tom Lane @ 2016-02-16 18:43 UTC (permalink / raw)
  To: pgsql-committers

Improve documentation about CREATE INDEX CONCURRENTLY.

Clarify the description of which transactions will block a CREATE INDEX
CONCURRENTLY command from proceeding, and mention that the index might
still not be usable after CREATE INDEX completes.  (This happens if the
index build detected broken HOT chains, so that pg_index.indcheckxmin gets
set, and there are open old transactions preventing the xmin horizon from
advancing past the index's initial creation.  I didn't want to explain what
broken HOT chains are, though, so I omitted an explanation of exactly when
old transactions prevent the index from being used.)

Per discussion with Chris Travers.  Back-patch to all supported branches,
since the same text appears in all of them.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/528db6ab965d33cfcad7e460b1cc4416f3600c3a

Modified Files
--------------
doc/src/sgml/ref/create_index.sgml | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* pgsql: Improve documentation about CREATE INDEX CONCURRENTLY.
@ 2016-02-16 18:43 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 12+ messages in thread

From: Tom Lane @ 2016-02-16 18:43 UTC (permalink / raw)
  To: pgsql-committers

Improve documentation about CREATE INDEX CONCURRENTLY.

Clarify the description of which transactions will block a CREATE INDEX
CONCURRENTLY command from proceeding, and mention that the index might
still not be usable after CREATE INDEX completes.  (This happens if the
index build detected broken HOT chains, so that pg_index.indcheckxmin gets
set, and there are open old transactions preventing the xmin horizon from
advancing past the index's initial creation.  I didn't want to explain what
broken HOT chains are, though, so I omitted an explanation of exactly when
old transactions prevent the index from being used.)

Per discussion with Chris Travers.  Back-patch to all supported branches,
since the same text appears in all of them.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/56f5e77f6c6e1ad1df1cdec4d8179886bef88075

Modified Files
--------------
doc/src/sgml/ref/create_index.sgml | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* pgsql: Improve documentation about CREATE TABLE ... LIKE.
@ 2016-07-28 17:27 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 12+ messages in thread

From: Tom Lane @ 2016-07-28 17:27 UTC (permalink / raw)
  To: pgsql-committers

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 documentation bug to justify back-patching.

In passing, do some minor copy-editing in the same area, and add an entry
for LIKE under "Compatibility", since it's not exactly a faithful
implementation of the standard's feature.

Discussion: <20160728151154.AABE64016B@smtp.hushmail.com>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/46b773d4fe0f0c880a1073cb5366efa02efa8ef8

Modified Files
--------------
doc/src/sgml/ref/create_table.sgml | 52 ++++++++++++++++++++++++++------------
src/backend/parser/parse_utilcmd.c |  4 ++-
2 files changed, 39 insertions(+), 17 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* pgsql: Improve documentation about CREATE TABLE ... LIKE.
@ 2016-07-28 17:27 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 12+ messages in thread

From: Tom Lane @ 2016-07-28 17:27 UTC (permalink / raw)
  To: pgsql-committers

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 documentation bug to justify back-patching.

In passing, do some minor copy-editing in the same area, and add an entry
for LIKE under "Compatibility", since it's not exactly a faithful
implementation of the standard's feature.

Discussion: <20160728151154.AABE64016B@smtp.hushmail.com>

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/884aec4f8505d9b4c767cf0f2456e12b843688cc

Modified Files
--------------
doc/src/sgml/ref/create_table.sgml | 52 ++++++++++++++++++++++++++------------
src/backend/parser/parse_utilcmd.c |  4 ++-
2 files changed, 39 insertions(+), 17 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* pgsql: Improve documentation about CREATE TABLE ... LIKE.
@ 2016-07-28 17:27 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 12+ messages in thread

From: Tom Lane @ 2016-07-28 17:27 UTC (permalink / raw)
  To: pgsql-committers

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 documentation bug to justify back-patching.

In passing, do some minor copy-editing in the same area, and add an entry
for LIKE under "Compatibility", since it's not exactly a faithful
implementation of the standard's feature.

Discussion: <20160728151154.AABE64016B@smtp.hushmail.com>

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/c92aca1236b5ed789873220948030a639a55e67a

Modified Files
--------------
doc/src/sgml/ref/create_table.sgml | 52 ++++++++++++++++++++++++++------------
src/backend/parser/parse_utilcmd.c |  4 ++-
2 files changed, 39 insertions(+), 17 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* pgsql: Improve documentation about CREATE TABLE ... LIKE.
@ 2016-07-28 17:27 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 12+ messages in thread

From: Tom Lane @ 2016-07-28 17:27 UTC (permalink / raw)
  To: pgsql-committers

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 documentation bug to justify back-patching.

In passing, do some minor copy-editing in the same area, and add an entry
for LIKE under "Compatibility", since it's not exactly a faithful
implementation of the standard's feature.

Discussion: <20160728151154.AABE64016B@smtp.hushmail.com>

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/52205629acbcff5bc25b46a5bec95f50f45d5cc4

Modified Files
--------------
doc/src/sgml/ref/create_table.sgml | 49 ++++++++++++++++++++++++++++----------
src/backend/parser/parse_utilcmd.c |  4 +++-
2 files changed, 39 insertions(+), 14 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* pgsql: Improve documentation about CREATE TABLE ... LIKE.
@ 2016-07-28 17:27 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 12+ messages in thread

From: Tom Lane @ 2016-07-28 17:27 UTC (permalink / raw)
  To: pgsql-committers

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 documentation bug to justify back-patching.

In passing, do some minor copy-editing in the same area, and add an entry
for LIKE under "Compatibility", since it's not exactly a faithful
implementation of the standard's feature.

Discussion: <20160728151154.AABE64016B@smtp.hushmail.com>

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/a9a998180aa417b972a4502a4ed9c69c35a7e556

Modified Files
--------------
doc/src/sgml/ref/create_table.sgml | 58 +++++++++++++++++++++++++-------------
src/backend/parser/parse_utilcmd.c |  4 ++-
2 files changed, 42 insertions(+), 20 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* pgsql: Improve documentation about CREATE TABLE ... LIKE.
@ 2016-07-28 17:27 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 12+ messages in thread

From: Tom Lane @ 2016-07-28 17:27 UTC (permalink / raw)
  To: pgsql-committers

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 documentation bug to justify back-patching.

In passing, do some minor copy-editing in the same area, and add an entry
for LIKE under "Compatibility", since it's not exactly a faithful
implementation of the standard's feature.

Discussion: <20160728151154.AABE64016B@smtp.hushmail.com>

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/f0795b394991874289658fb51d83dce9a11f026e

Modified Files
--------------
doc/src/sgml/ref/create_table.sgml | 51 ++++++++++++++++++++++++++------------
src/backend/parser/parse_utilcmd.c |  4 ++-
2 files changed, 38 insertions(+), 17 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 12+ messages in thread


end of thread, other threads:[~2016-07-28 17:27 UTC | newest]

Thread overview: 12+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-02-16 18:43 pgsql: Improve documentation about CREATE INDEX CONCURRENTLY. Tom Lane <tgl@sss.pgh.pa.us>
2016-02-16 18:43 pgsql: Improve documentation about CREATE INDEX CONCURRENTLY. Tom Lane <tgl@sss.pgh.pa.us>
2016-02-16 18:43 pgsql: Improve documentation about CREATE INDEX CONCURRENTLY. Tom Lane <tgl@sss.pgh.pa.us>
2016-02-16 18:43 pgsql: Improve documentation about CREATE INDEX CONCURRENTLY. Tom Lane <tgl@sss.pgh.pa.us>
2016-02-16 18:43 pgsql: Improve documentation about CREATE INDEX CONCURRENTLY. Tom Lane <tgl@sss.pgh.pa.us>
2016-02-16 18:43 pgsql: Improve documentation about CREATE INDEX CONCURRENTLY. Tom Lane <tgl@sss.pgh.pa.us>
2016-07-28 17:27 pgsql: Improve documentation about CREATE TABLE ... LIKE. Tom Lane <tgl@sss.pgh.pa.us>
2016-07-28 17:27 pgsql: Improve documentation about CREATE TABLE ... LIKE. Tom Lane <tgl@sss.pgh.pa.us>
2016-07-28 17:27 pgsql: Improve documentation about CREATE TABLE ... LIKE. Tom Lane <tgl@sss.pgh.pa.us>
2016-07-28 17:27 pgsql: Improve documentation about CREATE TABLE ... LIKE. Tom Lane <tgl@sss.pgh.pa.us>
2016-07-28 17:27 pgsql: Improve documentation about CREATE TABLE ... LIKE. Tom Lane <tgl@sss.pgh.pa.us>
2016-07-28 17:27 pgsql: Improve documentation about CREATE TABLE ... LIKE. Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox