projects
/
working
/
Evergreen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c75b1d4
)
add database and username variables to psql command
user/hopkinsju/build-eg-replication
author
Justin Hopkins
<hopkinsju@gmail.com>
Thu, 14 Jun 2012 14:42:42 +0000
(09:42 -0500)
committer
Justin Hopkins
<hopkinsju@gmail.com>
Thu, 14 Jun 2012 14:42:42 +0000
(09:42 -0500)
Open-ILS/examples/build-eg-replication.sh
patch
|
blob
|
history
diff --git
a/Open-ILS/examples/build-eg-replication.sh
b/Open-ILS/examples/build-eg-replication.sh
index
8c98ed4
..
427b267
100755
(executable)
--- 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 (