pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Preserve pg_index.indisreplident across REINDEX CONCURRENTLY
2+ messages / 1 participants
[nested] [flat]

* pgsql: Preserve pg_index.indisreplident across REINDEX CONCURRENTLY
@ 2020-06-05 01:33  Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Paquier @ 2020-06-05 01:33 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Preserve pg_index.indisreplident across REINDEX CONCURRENTLY

If the flag value is lost, logical decoding would work the same way as
REPLICA IDENTITY NOTHING, meaning that no old tuple values would be
included in the changes anymore produced by logical decoding.

Author: Michael Paquier
Reviewed-by: Euler Taveira
Discussion: https://postgr.es/m/20200603065340.GK89559@paquier.xyz
Backpatch-through: 12

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/75f14792408211f2ef6bf2dac31796a8a1ec3efb

Modified Files
--------------
src/backend/catalog/index.c                |  4 ++++
src/test/regress/expected/create_index.out | 21 +++++++++++++++++++++
src/test/regress/sql/create_index.sql      | 11 +++++++++++
3 files changed, 36 insertions(+)



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

* pgsql: Preserve pg_index.indisreplident across REINDEX CONCURRENTLY
@ 2020-06-05 01:33  Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Paquier @ 2020-06-05 01:33 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Preserve pg_index.indisreplident across REINDEX CONCURRENTLY

If the flag value is lost, logical decoding would work the same way as
REPLICA IDENTITY NOTHING, meaning that no old tuple values would be
included in the changes anymore produced by logical decoding.

Author: Michael Paquier
Reviewed-by: Euler Taveira
Discussion: https://postgr.es/m/20200603065340.GK89559@paquier.xyz
Backpatch-through: 12

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1127f0e392c757fc4fbbeffd7d0202bb02670e9c

Modified Files
--------------
src/backend/catalog/index.c                |  4 ++++
src/test/regress/expected/create_index.out | 21 +++++++++++++++++++++
src/test/regress/sql/create_index.sql      | 11 +++++++++++
3 files changed, 36 insertions(+)



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


end of thread, other threads:[~2020-06-05 01:33 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-06-05 01:33 pgsql: Preserve pg_index.indisreplident across REINDEX CONCURRENTLY Michael Paquier <michael@paquier.xyz>
2020-06-05 01:33 pgsql: Preserve pg_index.indisreplident across REINDEX CONCURRENTLY Michael Paquier <michael@paquier.xyz>

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