bdr.table_set_replication_sets should permit unsafe commands
authorCraig Ringer <craig@2ndquadrant.com>
Fri, 15 May 2015 09:08:52 +0000 (17:08 +0800)
committerCraig Ringer <craig@2ndquadrant.com>
Fri, 22 May 2015 04:42:06 +0000 (12:42 +0800)
commit211defae1c149e0224f0399e98de38c5284637d9
tree20bb7aa54fd4e4701457e2eb58a7aa5844beaa2b
parentc66fa0470e847cdc973aa06d3217569442042730
bdr.table_set_replication_sets should permit unsafe commands

In 4005c1d bdr_replicate_ddl_command was changed not to override the
command filter, but this broke replication sets in UDR, since they have
to use SECURITY LABEL.

SET bdr.permit_unsafe_ddl_commands on bdr.table_set_replication_sets
since it knows what it's doing.

Fixes #67

Note: The ddl/replication_sets tests cannot be run as-is on UDR because
UDR does not replicate changes to replication sets. We really need
separate tests for this that cover UDR (or BDR+subscribe).
bdr.control
expected/upgrade.out
extsql/bdr--0.10.0.1--0.10.0.2.sql [new file with mode: 0644]
sql/upgrade.sql