Peter Eisentraut
594b526bcf
Modify message when partitioned table is added to publication
...
Give a more specific error message than "xyz is not a table".
Also document in CREATE PUBLICATION which kinds of relations are not
supported.
based on patch by Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
2017-04-20 14:18:33 -04:00
Peter Eisentraut
1fe33252a0
Document that ONLY can be specified in publication commands
...
Author: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
2017-04-17 09:51:52 -04:00
Peter Eisentraut
87dee41f3e
Add COMMENT and SECURITY LABEL support for publications and subscriptions
2017-03-24 23:44:23 -04:00
Peter Eisentraut
4cfc9484d4
Refine rules for altering publication owner
...
Previously, the new owner had to be a superuser. The new rules are more
refined similar to other objects.
Reviewed-by: Petr Jelinek <petr.jelinek@2ndquadrant.com>
2017-03-22 11:19:30 -04:00
Peter Eisentraut
bd1827c7c9
Simplify publication/subscription tests a bit
...
After testing RENAME TO, rename the object back. This reduces the merge
mess when subsequent patches add test cases before or after the rename
test.
2017-03-15 16:52:12 -04:00
Peter Eisentraut
f2a9998fb3
Fix typo
2017-03-15 16:27:07 -04:00
Peter Eisentraut
e76db009f0
Add more documentation and tests for publications
...
Add/correct documentation and add some tests related to how access
control around adding tables to publications works.
2017-03-15 13:52:07 -04:00
Peter Eisentraut
b8957927e6
Fix segfault in ALTER PUBLICATION/SUBSCRIPTION RENAME
...
From: Masahiko Sawada <sawada.mshk@gmail.com>
Reported-by: Fujii Masao <masao.fujii@gmail.com>
2017-03-07 22:44:59 -05:00
Peter Eisentraut
6da9759a03
Add RENAME support for PUBLICATIONs and SUBSCRIPTIONs
...
From: Petr Jelinek <petr.jelinek@2ndquadrant.com>
2017-03-03 10:47:04 -05:00
Peter Eisentraut
6c488ea136
Paper over pg_upgrade test failure
...
The publication test didn't drop all the publications it was creating
when it was probably intending to do that. There is still a bug with
dependency tracking in there, but this should at least quiet down the
build farm.
2017-01-20 10:00:37 -05:00
Peter Eisentraut
665d1fad99
Logical replication
...
- Add PUBLICATION catalogs and DDL
- Add SUBSCRIPTION catalog and DDL
- Define logical replication protocol and output plugin
- Add logical replication workers
From: Petr Jelinek <petr@2ndquadrant.com>
Reviewed-by: Steve Singer <steve@ssinger.info>
Reviewed-by: Andres Freund <andres@anarazel.de>
Reviewed-by: Erik Rijkers <er@xs4all.nl>
Reviewed-by: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
2017-01-20 09:04:49 -05:00