From e160465ebee99e1b66fb69f82b6c22d72ed58a37 Mon Sep 17 00:00:00 2001 From: Justin Hopkins Date: Thu, 14 Jun 2012 09:42:42 -0500 Subject: [PATCH] add database and username variables to psql command --- Open-ILS/examples/build-eg-replication.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/examples/build-eg-replication.sh b/Open-ILS/examples/build-eg-replication.sh index 8c98ed4188..427b26744f 100755 --- a/Open-ILS/examples/build-eg-replication.sh +++ b/Open-ILS/examples/build-eg-replication.sh @@ -51,7 +51,7 @@ if [ "_$PGUSER" == "_" ]; then fi if [ "_$TABLES" == "_" ]; then - TABLES=$(psql -tc " + TABLES=$(psql --dbname=$PGDATABASE --username=$PGUSER -tc " select array_to_string(array_agg(table_schema || '.' || table_name),' ') from information_schema.tables where table_schema in ( -- 2.11.0