Specify POSTGRESQL_SERVER_PORT for new databases (#170)
This commit is contained in:
parent
87aa987e36
commit
93a69e601d
@ -223,7 +223,7 @@ create_postgresql_db(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
create_postgresql_tbl(){
|
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
|
if [ -n "${POSTGRESQL_SERVER_PASS}" ]; then
|
||||||
export PGPASSWORD=${POSTGRESQL_SERVER_PASS}
|
export PGPASSWORD=${POSTGRESQL_SERVER_PASS}
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user