]> granicus.if.org Git - postgresql/blobdiff - src/test/regress/expected/subscription.out
Add COMMENT and SECURITY LABEL support for publications and subscriptions
[postgresql] / src / test / regress / expected / subscription.out
index 74a5255e2a5ae663c57181fe89d294a153cd34fb..41f8def2f7f6f0122ce8018cc27a96e432990f9d 100644 (file)
@@ -30,6 +30,13 @@ ERROR:  publication name "foo" used more than once
 -- ok
 CREATE SUBSCRIPTION testsub CONNECTION 'dbname=doesnotexist' PUBLICATION testpub WITH (NOCONNECT);
 WARNING:  tables were not subscribed, you will have to run ALTER SUBSCRIPTION ... REFRESH PUBLICATION to subscribe the tables
+COMMENT ON SUBSCRIPTION testsub IS 'test subscription';
+SELECT obj_description(s.oid, 'pg_subscription') FROM pg_subscription s;
+  obj_description  
+-------------------
+ test subscription
+(1 row)
+
 -- fail - name already exists
 CREATE SUBSCRIPTION testsub CONNECTION 'dbname=doesnotexist' PUBLICATION testpub WITH (NOCONNECT);
 ERROR:  subscription "testsub" already exists