Replace CREATE DATABASE with a bdr.permit_ddl_locking statement.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
parent
13ccff2f33
commit
4ce585e944
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@
|
|||
owner=postgres group=postgres
|
||||
- command: unxz /var/tmp/bodhi2.dump.xz
|
||||
creates=/var/tmp/bodhi2.dump
|
||||
- command: sed -i "s/CREATE DATABASE bodhi2/SET LOCAL bdr.permit_ddl_locking = true;/" /var/tmp/bodhi2.dump
|
||||
- shell: >
|
||||
psql bodhi2 <<< "
|
||||
BEGIN;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue