File tree 13 files changed +13
-13
lines changed
13 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ docker_temp_server_start() {
215
215
216
216
# internal start of server in order to allow setup using psql client
217
217
# does not listen on external TCP/IP and waits until start finishes
218
- set -- " $@ " -c listen_addresses=' ' -p 5432
218
+ set -- " $@ " -c listen_addresses=' ' -p " ${PGPORT :- 5432} "
219
219
220
220
PGUSER=" ${PGUSER:- $POSTGRES_USER } " \
221
221
pg_ctl -D " $PGDATA " \
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ docker_temp_server_start() {
215
215
216
216
# internal start of server in order to allow setup using psql client
217
217
# does not listen on external TCP/IP and waits until start finishes
218
- set -- " $@ " -c listen_addresses=' ' -p 5432
218
+ set -- " $@ " -c listen_addresses=' ' -p " ${PGPORT :- 5432} "
219
219
220
220
PGUSER=" ${PGUSER:- $POSTGRES_USER } " \
221
221
pg_ctl -D " $PGDATA " \
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ docker_temp_server_start() {
215
215
216
216
# internal start of server in order to allow setup using psql client
217
217
# does not listen on external TCP/IP and waits until start finishes
218
- set -- " $@ " -c listen_addresses=' ' -p 5432
218
+ set -- " $@ " -c listen_addresses=' ' -p " ${PGPORT :- 5432} "
219
219
220
220
PGUSER=" ${PGUSER:- $POSTGRES_USER } " \
221
221
pg_ctl -D " $PGDATA " \
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ docker_temp_server_start() {
215
215
216
216
# internal start of server in order to allow setup using psql client
217
217
# does not listen on external TCP/IP and waits until start finishes
218
- set -- " $@ " -c listen_addresses=' ' -p 5432
218
+ set -- " $@ " -c listen_addresses=' ' -p " ${PGPORT :- 5432} "
219
219
220
220
PGUSER=" ${PGUSER:- $POSTGRES_USER } " \
221
221
pg_ctl -D " $PGDATA " \
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ docker_temp_server_start() {
215
215
216
216
# internal start of server in order to allow setup using psql client
217
217
# does not listen on external TCP/IP and waits until start finishes
218
- set -- " $@ " -c listen_addresses=' ' -p 5432
218
+ set -- " $@ " -c listen_addresses=' ' -p " ${PGPORT :- 5432} "
219
219
220
220
PGUSER=" ${PGUSER:- $POSTGRES_USER } " \
221
221
pg_ctl -D " $PGDATA " \
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ docker_temp_server_start() {
215
215
216
216
# internal start of server in order to allow setup using psql client
217
217
# does not listen on external TCP/IP and waits until start finishes
218
- set -- " $@ " -c listen_addresses=' ' -p 5432
218
+ set -- " $@ " -c listen_addresses=' ' -p " ${PGPORT :- 5432} "
219
219
220
220
PGUSER=" ${PGUSER:- $POSTGRES_USER } " \
221
221
pg_ctl -D " $PGDATA " \
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ docker_temp_server_start() {
215
215
216
216
# internal start of server in order to allow setup using psql client
217
217
# does not listen on external TCP/IP and waits until start finishes
218
- set -- " $@ " -c listen_addresses=' ' -p 5432
218
+ set -- " $@ " -c listen_addresses=' ' -p " ${PGPORT :- 5432} "
219
219
220
220
PGUSER=" ${PGUSER:- $POSTGRES_USER } " \
221
221
pg_ctl -D " $PGDATA " \
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ docker_temp_server_start() {
215
215
216
216
# internal start of server in order to allow setup using psql client
217
217
# does not listen on external TCP/IP and waits until start finishes
218
- set -- " $@ " -c listen_addresses=' ' -p 5432
218
+ set -- " $@ " -c listen_addresses=' ' -p " ${PGPORT :- 5432} "
219
219
220
220
PGUSER=" ${PGUSER:- $POSTGRES_USER } " \
221
221
pg_ctl -D " $PGDATA " \
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ docker_temp_server_start() {
215
215
216
216
# internal start of server in order to allow setup using psql client
217
217
# does not listen on external TCP/IP and waits until start finishes
218
- set -- " $@ " -c listen_addresses=' ' -p 5432
218
+ set -- " $@ " -c listen_addresses=' ' -p " ${PGPORT :- 5432} "
219
219
220
220
PGUSER=" ${PGUSER:- $POSTGRES_USER } " \
221
221
pg_ctl -D " $PGDATA " \
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ docker_temp_server_start() {
215
215
216
216
# internal start of server in order to allow setup using psql client
217
217
# does not listen on external TCP/IP and waits until start finishes
218
- set -- " $@ " -c listen_addresses=' ' -p 5432
218
+ set -- " $@ " -c listen_addresses=' ' -p " ${PGPORT :- 5432} "
219
219
220
220
PGUSER=" ${PGUSER:- $POSTGRES_USER } " \
221
221
pg_ctl -D " $PGDATA " \
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ docker_temp_server_start() {
215
215
216
216
# internal start of server in order to allow setup using psql client
217
217
# does not listen on external TCP/IP and waits until start finishes
218
- set -- " $@ " -c listen_addresses=' ' -p 5432
218
+ set -- " $@ " -c listen_addresses=' ' -p " ${PGPORT :- 5432} "
219
219
220
220
PGUSER=" ${PGUSER:- $POSTGRES_USER } " \
221
221
pg_ctl -D " $PGDATA " \
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ docker_temp_server_start() {
215
215
216
216
# internal start of server in order to allow setup using psql client
217
217
# does not listen on external TCP/IP and waits until start finishes
218
- set -- " $@ " -c listen_addresses=' ' -p 5432
218
+ set -- " $@ " -c listen_addresses=' ' -p " ${PGPORT :- 5432} "
219
219
220
220
PGUSER=" ${PGUSER:- $POSTGRES_USER } " \
221
221
pg_ctl -D " $PGDATA " \
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ docker_temp_server_start() {
215
215
216
216
# internal start of server in order to allow setup using psql client
217
217
# does not listen on external TCP/IP and waits until start finishes
218
- set -- " $@ " -c listen_addresses=' ' -p 5432
218
+ set -- " $@ " -c listen_addresses=' ' -p " ${PGPORT :- 5432} "
219
219
220
220
PGUSER=" ${PGUSER:- $POSTGRES_USER } " \
221
221
pg_ctl -D " $PGDATA " \
You can’t perform that action at this time.
0 commit comments