From: Mark Hymers Date: Sat, 30 Jul 2011 14:33:18 +0000 (+0100) Subject: Make it easier to spot if psql fails X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ee90f4ef95923e4282ce776eea57dfe91fa6986;p=dak Make it easier to spot if psql fails Signed-off-by: Mark Hymers --- diff --git a/setup/README b/setup/README index 9d5103c1..b3a08fb3 100644 --- a/setup/README +++ b/setup/README @@ -41,8 +41,9 @@ Create the additional roles: Create an empty database with SQL_ASCII encoding: # createdb -T template0 -E SQL_ASCII -O dak projectb -Import the schema: -# psql -f current_schema.sql -d projectb +Import the schema. We redirect STDOUT to /dev/null as otherwise it's +impossible to see if something fails. +# psql -1 -f current_schema.sql -d projectb >/dev/null Set up some core data in projectb to get started (read the init_vars file if you wish to customise various aspects):