Specify POSTGRESQL_SERVER_PORT for new databases (#170)
This commit is contained in:
parent
87aa987e36
commit
93a69e601d
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ create_postgresql_db(){
|
|||
}
|
||||
|
||||
create_postgresql_tbl(){
|
||||
CONNECTION_PARAMS="-h${POSTGRESQL_SERVER_HOST} -U${POSTGRESQL_SERVER_USER} -w"
|
||||
CONNECTION_PARAMS="-h${POSTGRESQL_SERVER_HOST} -p${POSTGRESQL_SERVER_PORT} -U${POSTGRESQL_SERVER_USER} -w"
|
||||
if [ -n "${POSTGRESQL_SERVER_PASS}" ]; then
|
||||
export PGPASSWORD=${POSTGRESQL_SERVER_PASS}
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue