Re: dropdb --force

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: dropdb --force
Дата
Msg-id 8300.1545150572@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: dropdb --force  (Marti Raudsepp <marti@juffo.org>)
Список pgsql-hackers
Marti Raudsepp <marti@juffo.org> writes:
> I think Filip's approach of setting pg_database.datallowconn='false'
> is pretty clever to avoid the synchronization problem.

Some bull-in-a-china-shop has recently added logic that allows ignoring
datallowconn and connecting anyway, so I'm not sure that that'd provide
a production-quality solution.  On the other hand, maybe we could revert
BGWORKER_BYPASS_ALLOWCONN.

            regards, tom lane


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

Предыдущее
От: Justin Pryzby
Дата:
Сообщение: Re: psql exit status with multiple -c or -f
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Should new partitions inherit their tablespace from their parent?