forked from mtusi2026/mtusi2026lab3
ЛР 3: финальная проверка и исправление лимита памяти API
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
|
||||
# start socket-only postgresql server for setting up or running scripts
|
||||
# all arguments will be passed along as arguments to `postgres` (via pg_ctl)
|
||||
docker_temp_server_start() {
|
||||
if [ "$1" = 'postgres' ]; then
|
||||
shift
|
||||
fi
|
||||
|
||||
|
||||
# internal start of server in order to allow setup using psql client
|
||||
# does not listen on external TCP/IP and waits until start finishes
|
||||
set -- "$@" -c listen_addresses='' -p "${PGPORT:-5432}"
|
||||
|
||||
# unset NOTIFY_SOCKET so the temporary server doesn't prematurely notify
|
||||
# any process supervisor.
|
||||
NOTIFY_SOCKET= \
|
||||
Reference in New Issue
Block a user