From 0ee90f4ef95923e4282ce776eea57dfe91fa6986 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Sat, 30 Jul 2011 15:33:18 +0100 Subject: [PATCH] Make it easier to spot if psql fails Signed-off-by: Mark Hymers --- setup/README | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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): -- 2.39.2