git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: b7ce6de) | patch
Add logical replication support to replicate into partitioned tables
Mon, 6 Apr 2020 13:15:52 +0000 (15:15 +0200)
Mon, 6 Apr 2020 13:15:52 +0000 (15:15 +0200)
commit f1ac27bfda6ce8a399d8001843e9aefff5814f9b
Add logical replication support to replicate into partitioned tables

Mainly, this adds support code in logical/worker.c for applying
replicated operations whose target is a partitioned table to its
relevant partitions.

Author: Amit Langote <amitlangote09@gmail.com>
Reviewed-by: Rafia Sabih <rafia.pghackers@gmail.com>
Reviewed-by: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Reviewed-by: Petr Jelinek <petr@2ndquadrant.com>
Discussion: https://www.postgresql.org/message-id/flat/CA+HiwqH=Y85vRK3mOdjEkqFK+E=ST=eQiHdpj43L=_eJMOOznQ@mail.gmail.com
doc/src/sgml/logical-replication.sgml diff | blob | blame | history
src/backend/executor/execReplication.c diff | blob | blame | history
src/backend/replication/logical/relation.c diff | blob | blame | history
src/backend/replication/logical/tablesync.c diff | blob | blame | history
src/backend/replication/logical/worker.c diff | blob | blame | history
src/include/replication/logicalrelation.h diff | blob | blame | history
src/test/subscription/t/013_partition.pl diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /