Add option to modify sync commit per subscription
Peter Eisentraut <peter_e@gmx.net>
Add option to modify sync commit per subscription This also changes default behaviour of subscription workers to synchronous_commit = off. Author: Petr Jelinek <petr.jelinek@2ndquadrant.com>
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/catalogs.sgml | modified | +10 −0 |
| doc/src/sgml/ref/alter_subscription.sgml | modified | +2 −0 |
| doc/src/sgml/ref/create_subscription.sgml | modified | +31 −0 |
| src/backend/catalog/pg_subscription.c | modified | +8 −0 |
| src/backend/commands/subscriptioncmds.c | modified | +45 −9 |
| src/backend/replication/logical/launcher.c | modified | +1 −5 |
| src/backend/replication/logical/worker.c | modified | +8 −0 |
| src/bin/pg_dump/pg_dump.c | modified | +10 −1 |
| src/bin/pg_dump/pg_dump.h | modified | +1 −0 |
| src/bin/psql/describe.c | modified | +4 −1 |
| src/include/catalog/pg_subscription.h | modified | +5 −3 |
| src/test/regress/expected/subscription.out | modified | +17 −13 |
| src/test/regress/sql/subscription.sql | modified | +3 −1 |