Ajout : roundcube.
[lhc/ateliers.git] / local / postgresql-role-create
index e01f0c4..25d5cf3 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh -eux
 role="$1"; shift
-sudo -u postgres psql "$@" -a -f - <<-EOF
+sudo -u postgres psql "$@" -a -f - --set ON_ERROR_STOP=1 <<-EOF
        \set ON_ERROR_STOP on
        DO LANGUAGE plpgsql \$\$
        BEGIN