@ -179,7 +179,7 @@ revoke_superuser("regress_admin");
publish_update ( "alice.unpartitioned" , 5 = > 9 ) ;
publish_update ( "alice.unpartitioned" , 5 = > 9 ) ;
expect_failure (
expect_failure (
"alice.unpartitioned" , 2 , 5 , 7 ,
"alice.unpartitioned" , 2 , 5 , 7 ,
qr/ERROR: permission denied for table unpartitioned/ msi ,
qr/ERROR: ( [A-Z0-9]+:)? permission denied for table unpartitioned/ msi ,
"non-superuser admin fails to replicate update" ) ;
"non-superuser admin fails to replicate update" ) ;
grant_superuser ( "regress_admin" ) ;
grant_superuser ( "regress_admin" ) ;
expect_replication ( "alice.unpartitioned" , 2 , 7 , 9 ,
expect_replication ( "alice.unpartitioned" , 2 , 7 , 9 ,
@ -214,7 +214,7 @@ expect_failure(
3 ,
3 ,
7 ,
7 ,
11 ,
11 ,
qr/ERROR: permission denied for table unpartitioned/ msi ,
qr/ERROR: ( [A-Z0-9]+:)? permission denied for table unpartitioned/ msi ,
"non-superuser admin without SELECT privileges fails to replicate update"
"non-superuser admin without SELECT privileges fails to replicate update"
) ;
) ;
@ -262,7 +262,7 @@ expect_failure(
2 ,
2 ,
11 ,
11 ,
13 ,
13 ,
qr/ERROR: "regress_admin" cannot replicate into relation with row-level security enabled: "unpartitioned\w*"/ msi ,
qr/ERROR: ( [A-Z0-9]+:)? "regress_admin" cannot replicate into relation with row-level security enabled: "unpartitioned\w*"/ msi ,
"non-superuser admin fails to replicate insert into rls enabled table" ) ;
"non-superuser admin fails to replicate insert into rls enabled table" ) ;
grant_superuser ( "regress_admin" ) ;
grant_superuser ( "regress_admin" ) ;
expect_replication ( "alice.unpartitioned" , 3 , 11 , 15 ,
expect_replication ( "alice.unpartitioned" , 3 , 11 , 15 ,
@ -276,7 +276,7 @@ expect_failure(
3 ,
3 ,
11 ,
11 ,
15 ,
15 ,
qr/ERROR: "regress_admin" cannot replicate into relation with row-level security enabled: "unpartitioned\w*"/ msi ,
qr/ERROR: ( [A-Z0-9]+:)? "regress_admin" cannot replicate into relation with row-level security enabled: "unpartitioned\w*"/ msi ,
"non-superuser admin fails to replicate update into rls enabled unpartitioned"
"non-superuser admin fails to replicate update into rls enabled unpartitioned"
) ;
) ;
@ -291,7 +291,7 @@ expect_failure(
3 ,
3 ,
13 ,
13 ,
17 ,
17 ,
qr/ERROR: "regress_admin" cannot replicate into relation with row-level security enabled: "unpartitioned\w*"/ msi ,
qr/ERROR: ( [A-Z0-9]+:)? "regress_admin" cannot replicate into relation with row-level security enabled: "unpartitioned\w*"/ msi ,
"non-superuser admin without bypassrls fails to replicate delete into rls enabled unpartitioned"
"non-superuser admin without bypassrls fails to replicate delete into rls enabled unpartitioned"
) ;
) ;
grant_bypassrls ( "regress_admin" ) ;
grant_bypassrls ( "regress_admin" ) ;