bdr: Overhauld of bdr_replicate_ddl_command
authorPetr Jelinek <pjmodos@pjmodos.net>
Fri, 17 Oct 2014 08:50:31 +0000 (10:50 +0200)
committerPetr Jelinek <pjmodos@pjmodos.net>
Fri, 21 Nov 2014 17:21:56 +0000 (18:21 +0100)
commit64403cf4c2f415b2dbdef0f39685b64aa19126e1
treea1f1cae985175035d264a90d1ac54076f038d623
parent216485bf8576abdb7ad9d20fd1586676bff7b57e
bdr: Overhauld of bdr_replicate_ddl_command

* execute the ddl on local node
* force the input query to be fully qualified
* use command filter to disallow dangerous DDL commands even when using
  bdr_replicate_ddl_command unless overriden by the GUC
* make it work in BDR and make sure it does not do double replication of
  the DDL
* rewrite of queue_dropped_objects into C
* rename the drop trigger so that the order of execution is correct
* recognize bdr node by replication slot with bdr output plugin
Makefile.in
bdr--0.8.0.sql
bdr.c
bdr.h
bdr_apply.c
bdr_commandfilter.c
bdr_executor.c
bdr_locks.c
expected/ddl/create.out