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>
Mon, 25 May 2015 03:39:31 +0000 (11:39 +0800)
commit401d11785663f37f42634a47e87f0984bd9a9b66
treebd16f20c23bf7379eb5dada8c5043b871537534b
parent1c02d7caed842ef5a367806fe2c78b3e52412223
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).
Makefile.in
bdr.control
expected/upgrade.out
extsql/bdr--0.9.0.4--0.9.0.5.sql [new file with mode: 0644]
sql/upgrade.sql