Update existing bdr triggers to 'tgisinternal'
authorCraig Ringer <craig@2ndquadrant.com>
Fri, 10 Jul 2015 03:18:24 +0000 (11:18 +0800)
committerCraig Ringer <craig@2ndquadrant.com>
Fri, 10 Jul 2015 03:18:24 +0000 (11:18 +0800)
commit0acfbaa8b1fb303683fdd2b7f1a7dea05cfb5b8e
treeb970804087b6186c5e0f7904326377302bf17b2d
parent0c96b9ff29e4acca465cf492b5f0c01c6e789978
Update existing bdr triggers to 'tgisinternal'

New truncate_triggers are created as `tgisinternal` but
exiting ones are not changed. Fix that by doing a one-off
catalog update during the BDR extension upgrade, setting
any existing BDR truncate triggers to internal and appending
their oid to their names to match new triggers.

Further improvement for issue #62
Makefile.in
bdr.control
expected/upgrade.out
extsql/bdr--0.10.0.6--0.10.0.7.sql [new file with mode: 0644]
sql/upgrade.sql