Re: Upgrading rant.

Поиск
Список
Период
Сортировка
От Oliver Elphick
Тема Re: Upgrading rant.
Дата
Msg-id 1041652948.1198.15.camel@linda.lfix.co.uk
обсуждение исходный текст
Ответ на Re: Upgrading rant.  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Upgrading rant.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sat, 2003-01-04 at 02:17, Tom Lane wrote:

> There isn't any simple way to lock *everyone* out of the DB and still
> allow pg_upgrade to connect via the postmaster, and even if there were,
> the DBA could too easily forget to do it.

I tackled this issue in the Debian upgrade scripts.

I close the running postmaster and open a new postmaster using a
different port, so that normal connection attempts will fail because
there is no postmaster running on the normal port.

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK                             http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
========================================   "But because of his great love for us, God, who is rich     in mercy, made
usalive with Christ even when we were     dead in transgressions-it is by grace you have been     saved."
Ephesians2:4,5 
 



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

Предыдущее
От: Greg Copeland
Дата:
Сообщение: Re: Threads
Следующее
От: Dan Langille
Дата:
Сообщение: Re: Upgrading rant.