| От | Tom Lane |
|---|---|
| Тема | Re: DROP DATABASE always seeing database in use |
| Дата | |
| Msg-id | 5322.1217864530@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: DROP DATABASE always seeing database in use (Gregory Stark <stark@enterprisedb.com>) |
| Ответы |
Re: DROP DATABASE always seeing database in use
|
| Список | pgsql-hackers |
Gregory Stark <stark@enterprisedb.com> writes:
> "Michael Fuhr" <mike@fuhr.org> writes:
>> Are any prepared transactions still open?
> Uh, yes, I did notice that but didn't put two and two together. That does make
> sense now that you mention it.
I've been bit by that too, and so have other people. Maybe it'd be
worth the trouble to improve the message so that it explicitly tells you
when there are prepared transactions blocking the DROP.
Another possibility is to let the DROP automatically roll back the
conflicting prepared xacts, but that seems a bit dangerous.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера