Re: Can database run a script automatically at start up?

Поиск
Список
Период
Сортировка
От Szymon Guz
Тема Re: Can database run a script automatically at start up?
Дата
Msg-id AANLkTinvmcTyXhuEDF1ObGAOYXOvdDvT1mZ8cSxHKo_L@mail.gmail.com
обсуждение исходный текст
Ответ на Can database run a script automatically at start up?  (Frank Church <voipfc@googlemail.com>)
Список pgsql-general


2010/8/9 Frank Church <voipfc@googlemail.com>
Can PostgresSQL be setup to automtatically run a script at start up?

I need something to run at start up in case the database crashed or
some programs did not close their databases properly on shutdown.

/voipfc

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

It can't, but you may write a script that will do that and will start the database, so you won't be starting that normally, but only with this script.

regards
Szymon Guz

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

Предыдущее
От: Frank Church
Дата:
Сообщение: Can database run a script automatically at start up?
Следующее
От: Sim Zacks
Дата:
Сообщение: pgtune