Re: A real puzzler: ANY way to recover?

Поиск
Список
Период
Сортировка
От David F. Skoll
Тема Re: A real puzzler: ANY way to recover?
Дата
Msg-id 427A60A9.7080309@roaringpenguin.com
обсуждение исходный текст
Ответ на Re: A real puzzler: ANY way to recover?  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Ответы Re: REMOVE
unsubscribe
Список pgsql-admin
Alvaro Herrera wrote:

> Connect in standalone mode?

Does not work.  Tom Lane replied with the only thing that does work,
which we independently discovered about 30 seconds before hearing from
Tom. :-)

The solution is to modify the PostgreSQL source code to skip the check,
and run the modified binary in standalone mode just to reset the
datallowconn flag to true.  Once we did that, we quit and started
the normal server to complete the maintenance work.

I recommend having a postgres single-user-mode command-line option
to disable the check, with a suitably stern warning in the man
page not to use it. :-)

Regards,

David.

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: A real puzzler: ANY way to recover?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: A real puzzler: ANY way to recover?