Use --set with psql instead of in-lining \set.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
parent
ad77424231
commit
44bcc2fda5
1 changed files with 1 additions and 2 deletions
|
@ -46,8 +46,7 @@
|
|||
- command: sed -i "s/CREATE DATABASE bodhi2.*/SET bdr.permit_ddl_locking = true;/" /var/tmp/bodhi2.dump
|
||||
- command: sed -i "s/connect bodhi2/connect bodhi2\nSET bdr.permit_ddl_locking = true;/" /var/tmp/bodhi2.dump
|
||||
- shell: >
|
||||
psql bodhi2 <<< "
|
||||
\set ON_ERROR_STOP on;
|
||||
psql --set ON_ERROR_STOP=on bodhi2 <<< "
|
||||
BEGIN;
|
||||
SET LOCAL bdr.permit_ddl_locking = on;
|
||||
DELETE FROM alembic_version;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue