]> granicus.if.org Git - postgresql/commit
Add the notion of REPLICA IDENTITY for a table.
authorRobert Haas <rhaas@postgresql.org>
Fri, 8 Nov 2013 17:30:43 +0000 (12:30 -0500)
committerRobert Haas <rhaas@postgresql.org>
Fri, 8 Nov 2013 17:30:43 +0000 (12:30 -0500)
commit07cacba983ef79be4a84fcd0e0ca3b5fcb85dd65
tree7fa0f7c8d7b765b3e901512faef90759904d047c
parentb97ee66cc1f9319f7b457e7d8a78aab711da2dda
Add the notion of REPLICA IDENTITY for a table.

Pending patches for logical replication will use this to determine
which columns of a tuple ought to be considered as its candidate key.

Andres Freund, with minor, mostly cosmetic adjustments by me
23 files changed:
doc/src/sgml/catalogs.sgml
doc/src/sgml/ref/alter_table.sgml
src/backend/catalog/heap.c
src/backend/catalog/index.c
src/backend/commands/tablecmds.c
src/backend/nodes/copyfuncs.c
src/backend/nodes/equalfuncs.c
src/backend/parser/gram.y
src/backend/utils/cache/relcache.c
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.h
src/bin/psql/describe.c
src/bin/psql/tab-complete.c
src/include/catalog/catversion.h
src/include/catalog/pg_class.h
src/include/catalog/pg_index.h
src/include/nodes/nodes.h
src/include/nodes/parsenodes.h
src/include/utils/rel.h
src/test/regress/expected/replica_identity.out [new file with mode: 0644]
src/test/regress/parallel_schedule
src/test/regress/serial_schedule
src/test/regress/sql/replica_identity.sql [new file with mode: 0644]