Option to make PostgreSQL quiescent on startup?

Поиск
Список
Период
Сортировка
От John Scalia
Тема Option to make PostgreSQL quiescent on startup?
Дата
Msg-id 021075A8-B171-4CE7-9E45-52347FB2A787@gmail.com
обсуждение исходный текст
Список pgsql-admin
Hi all,

I have been trying to get a new Docker container working with PostgreSQL 9.6.6 and I’d like it to start with one of our
app’sschemas, but the shell script I’m invoking at the end of the Dockerfile with an ENTRYPOINT doesn’t seem to want to
gopast the database startup. I think the script isn’t completing due to the output of postgres process. At least, this
ismy suspicion. Right now, the shell script is only trying to invoke  psql -c “CREATE DATABASE code” after it starts
thecluster. If this is the case, is there any option to just quietly start the cluster? If not, is there anyway to make
thiswork? 
—
Jay

Sent from my iPad

В списке pgsql-admin по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [ADMIN] Re: WARNING: terminating connection because of crash ofanother server process
Следующее
От: Jorge Torralba
Дата:
Сообщение: Re: Option to make PostgreSQL quiescent on startup?