Re: logical decoding and replication of sequences
Peter Eisentraut <peter.eisentraut@enterprisedb.com>
From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Amit Kapila <amit.kapila16@gmail.com>,
Tomas Vondra <tomas.vondra@enterprisedb.com>
Cc: Petr Jelinek <petr.jelinek@enterprisedb.com>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-02-24T12:11:23Z
Lists: pgsql-hackers
On 23.02.22 12:10, Amit Kapila wrote: > Isn't it better to support this with a syntax as indicated by Tom in > one of his earlier emails on this topic [1]? IIUC, it would be as > follows: > > CREATE PUBLICATION p FOR ALL TABLES, ALL SEQUENCES; I don't think there is any point in supporting this. What FOR ALL TABLES was really supposed to mean was "everything you can get your hands on". I think we should just redefine FOR ALL TABLES to mean that, maybe replace it with a different syntax. If you want to exclude sequences for some reason, there is already a publication option for that. And FOR ALL SEQUENCES by itself doesn't make any sense in practice. Are there any other object types besides tables and sequences that we might want to logically-replicate in the future and whose possible syntax we should think about? I can't think of anything.
Commits
-
Fix cache invalidation bug in recovery_prefetch.
- d0d934490020 15.0 landed
- 932b01630095 16.0 landed
-
Revert "Logical decoding of sequences"
- 2c7ea57e56ca 15.0 landed
-
Minor improvements in sequence decoding code and docs
- 05843b1aa49d 15.0 landed
-
Handle sequences in preprocess_pubobj_list
- 002c9dd97a0c 15.0 landed
-
Update tab-completion for CREATE PUBLICATION with sequences
- 2d2232933b02 15.0 landed
-
Add decoding of sequences to built-in replication
- 75b1521dae1f 15.0 landed
-
Stabilize test_decoding touching with sequences
- a180c2b34de0 15.0 landed
-
Call ReorderBufferProcessXid from sequence_decode
- d5ed9da41d96 15.0 landed
-
Add decoding of sequences to test_decoding
- 80901b32913f 15.0 landed
-
Replace Test::More plans with done_testing
- 549ec201d613 15.0 cited
-
Logical decoding of sequences
- 0da92dc530c9 15.0 landed
-
Respect permissions within logical replication.
- a2ab9c06ea15 15.0 cited