|
|
|
|
@ -77,7 +77,7 @@ ERROR: invalid connection string syntax: missing "=" after "foobar" in connecti |
|
|
|
|
|
|
|
|
|
\dRs+ |
|
|
|
|
List of subscriptions |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two-phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
-----------------+---------------------------+---------+-------------+--------+-----------+------------------+------------------+--------------------+-----------------------------+---------- |
|
|
|
|
regress_testsub | regress_subscription_user | f | {testpub} | f | f | d | f | off | dbname=regress_doesnotexist | 0/0 |
|
|
|
|
(1 row) |
|
|
|
|
@ -97,7 +97,7 @@ ERROR: unrecognized subscription parameter: "create_slot" |
|
|
|
|
ALTER SUBSCRIPTION regress_testsub SKIP (lsn = '0/12345'); |
|
|
|
|
\dRs+ |
|
|
|
|
List of subscriptions |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two-phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
-----------------+---------------------------+---------+---------------------+--------+-----------+------------------+------------------+--------------------+------------------------------+---------- |
|
|
|
|
regress_testsub | regress_subscription_user | f | {testpub2,testpub3} | f | f | d | f | off | dbname=regress_doesnotexist2 | 0/12345 |
|
|
|
|
(1 row) |
|
|
|
|
@ -109,7 +109,7 @@ ALTER SUBSCRIPTION regress_testsub SKIP (lsn = '0/0'); |
|
|
|
|
ERROR: invalid WAL location (LSN): 0/0 |
|
|
|
|
\dRs+ |
|
|
|
|
List of subscriptions |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two-phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
-----------------+---------------------------+---------+---------------------+--------+-----------+------------------+------------------+--------------------+------------------------------+---------- |
|
|
|
|
regress_testsub | regress_subscription_user | f | {testpub2,testpub3} | f | f | d | f | off | dbname=regress_doesnotexist2 | 0/0 |
|
|
|
|
(1 row) |
|
|
|
|
@ -144,7 +144,7 @@ ERROR: invalid value for parameter "synchronous_commit": "foobar" |
|
|
|
|
HINT: Available values: local, remote_write, remote_apply, on, off. |
|
|
|
|
\dRs+ |
|
|
|
|
List of subscriptions |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two-phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
---------------------+---------------------------+---------+---------------------+--------+-----------+------------------+------------------+--------------------+------------------------------+---------- |
|
|
|
|
regress_testsub_foo | regress_subscription_user | f | {testpub2,testpub3} | f | f | d | f | local | dbname=regress_doesnotexist2 | 0/0 |
|
|
|
|
(1 row) |
|
|
|
|
@ -180,7 +180,7 @@ CREATE SUBSCRIPTION regress_testsub CONNECTION 'dbname=regress_doesnotexist' PUB |
|
|
|
|
WARNING: tables were not subscribed, you will have to run ALTER SUBSCRIPTION ... REFRESH PUBLICATION to subscribe the tables |
|
|
|
|
\dRs+ |
|
|
|
|
List of subscriptions |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two-phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
-----------------+---------------------------+---------+-------------+--------+-----------+------------------+------------------+--------------------+-----------------------------+---------- |
|
|
|
|
regress_testsub | regress_subscription_user | f | {testpub} | t | f | d | f | off | dbname=regress_doesnotexist | 0/0 |
|
|
|
|
(1 row) |
|
|
|
|
@ -189,7 +189,7 @@ ALTER SUBSCRIPTION regress_testsub SET (binary = false); |
|
|
|
|
ALTER SUBSCRIPTION regress_testsub SET (slot_name = NONE); |
|
|
|
|
\dRs+ |
|
|
|
|
List of subscriptions |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two-phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
-----------------+---------------------------+---------+-------------+--------+-----------+------------------+------------------+--------------------+-----------------------------+---------- |
|
|
|
|
regress_testsub | regress_subscription_user | f | {testpub} | f | f | d | f | off | dbname=regress_doesnotexist | 0/0 |
|
|
|
|
(1 row) |
|
|
|
|
@ -203,7 +203,7 @@ CREATE SUBSCRIPTION regress_testsub CONNECTION 'dbname=regress_doesnotexist' PUB |
|
|
|
|
WARNING: tables were not subscribed, you will have to run ALTER SUBSCRIPTION ... REFRESH PUBLICATION to subscribe the tables |
|
|
|
|
\dRs+ |
|
|
|
|
List of subscriptions |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two-phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
-----------------+---------------------------+---------+-------------+--------+-----------+------------------+------------------+--------------------+-----------------------------+---------- |
|
|
|
|
regress_testsub | regress_subscription_user | f | {testpub} | f | t | d | f | off | dbname=regress_doesnotexist | 0/0 |
|
|
|
|
(1 row) |
|
|
|
|
@ -212,7 +212,7 @@ ALTER SUBSCRIPTION regress_testsub SET (streaming = false); |
|
|
|
|
ALTER SUBSCRIPTION regress_testsub SET (slot_name = NONE); |
|
|
|
|
\dRs+ |
|
|
|
|
List of subscriptions |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two-phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
-----------------+---------------------------+---------+-------------+--------+-----------+------------------+------------------+--------------------+-----------------------------+---------- |
|
|
|
|
regress_testsub | regress_subscription_user | f | {testpub} | f | f | d | f | off | dbname=regress_doesnotexist | 0/0 |
|
|
|
|
(1 row) |
|
|
|
|
@ -230,7 +230,7 @@ ALTER SUBSCRIPTION regress_testsub ADD PUBLICATION testpub1, testpub2 WITH (refr |
|
|
|
|
ERROR: publication "testpub1" is already in subscription "regress_testsub" |
|
|
|
|
\dRs+ |
|
|
|
|
List of subscriptions |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two-phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
-----------------+---------------------------+---------+-----------------------------+--------+-----------+------------------+------------------+--------------------+-----------------------------+---------- |
|
|
|
|
regress_testsub | regress_subscription_user | f | {testpub,testpub1,testpub2} | f | f | d | f | off | dbname=regress_doesnotexist | 0/0 |
|
|
|
|
(1 row) |
|
|
|
|
@ -248,7 +248,7 @@ ERROR: publication "testpub3" is not in subscription "regress_testsub" |
|
|
|
|
ALTER SUBSCRIPTION regress_testsub DROP PUBLICATION testpub1, testpub2 WITH (refresh = false); |
|
|
|
|
\dRs+ |
|
|
|
|
List of subscriptions |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two-phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
-----------------+---------------------------+---------+-------------+--------+-----------+------------------+------------------+--------------------+-----------------------------+---------- |
|
|
|
|
regress_testsub | regress_subscription_user | f | {testpub} | f | f | d | f | off | dbname=regress_doesnotexist | 0/0 |
|
|
|
|
(1 row) |
|
|
|
|
@ -285,7 +285,7 @@ CREATE SUBSCRIPTION regress_testsub CONNECTION 'dbname=regress_doesnotexist' PUB |
|
|
|
|
WARNING: tables were not subscribed, you will have to run ALTER SUBSCRIPTION ... REFRESH PUBLICATION to subscribe the tables |
|
|
|
|
\dRs+ |
|
|
|
|
List of subscriptions |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two-phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
-----------------+---------------------------+---------+-------------+--------+-----------+------------------+------------------+--------------------+-----------------------------+---------- |
|
|
|
|
regress_testsub | regress_subscription_user | f | {testpub} | f | f | p | f | off | dbname=regress_doesnotexist | 0/0 |
|
|
|
|
(1 row) |
|
|
|
|
@ -297,7 +297,7 @@ ERROR: unrecognized subscription parameter: "two_phase" |
|
|
|
|
ALTER SUBSCRIPTION regress_testsub SET (streaming = true); |
|
|
|
|
\dRs+ |
|
|
|
|
List of subscriptions |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two-phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
-----------------+---------------------------+---------+-------------+--------+-----------+------------------+------------------+--------------------+-----------------------------+---------- |
|
|
|
|
regress_testsub | regress_subscription_user | f | {testpub} | f | t | p | f | off | dbname=regress_doesnotexist | 0/0 |
|
|
|
|
(1 row) |
|
|
|
|
@ -309,7 +309,7 @@ CREATE SUBSCRIPTION regress_testsub CONNECTION 'dbname=regress_doesnotexist' PUB |
|
|
|
|
WARNING: tables were not subscribed, you will have to run ALTER SUBSCRIPTION ... REFRESH PUBLICATION to subscribe the tables |
|
|
|
|
\dRs+ |
|
|
|
|
List of subscriptions |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two-phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
-----------------+---------------------------+---------+-------------+--------+-----------+------------------+------------------+--------------------+-----------------------------+---------- |
|
|
|
|
regress_testsub | regress_subscription_user | f | {testpub} | f | t | p | f | off | dbname=regress_doesnotexist | 0/0 |
|
|
|
|
(1 row) |
|
|
|
|
@ -324,7 +324,7 @@ CREATE SUBSCRIPTION regress_testsub CONNECTION 'dbname=regress_doesnotexist' PUB |
|
|
|
|
WARNING: tables were not subscribed, you will have to run ALTER SUBSCRIPTION ... REFRESH PUBLICATION to subscribe the tables |
|
|
|
|
\dRs+ |
|
|
|
|
List of subscriptions |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two-phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
-----------------+---------------------------+---------+-------------+--------+-----------+------------------+------------------+--------------------+-----------------------------+---------- |
|
|
|
|
regress_testsub | regress_subscription_user | f | {testpub} | f | f | d | f | off | dbname=regress_doesnotexist | 0/0 |
|
|
|
|
(1 row) |
|
|
|
|
@ -332,7 +332,7 @@ WARNING: tables were not subscribed, you will have to run ALTER SUBSCRIPTION .. |
|
|
|
|
ALTER SUBSCRIPTION regress_testsub SET (disable_on_error = true); |
|
|
|
|
\dRs+ |
|
|
|
|
List of subscriptions |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
Name | Owner | Enabled | Publication | Binary | Streaming | Two-phase commit | Disable on error | Synchronous commit | Conninfo | Skip LSN |
|
|
|
|
-----------------+---------------------------+---------+-------------+--------+-----------+------------------+------------------+--------------------+-----------------------------+---------- |
|
|
|
|
regress_testsub | regress_subscription_user | f | {testpub} | f | f | d | t | off | dbname=regress_doesnotexist | 0/0 |
|
|
|
|
(1 row) |
|
|
|
|
|