Re: BUG #11321: describe command is getting locked due to ALTER statement running on public table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #11321: describe command is getting locked due to ALTER statement running on public table
Дата
Msg-id 11249.1409590914@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #11321: describe command is getting locked due to ALTER statement running on public table  (adurugkar@xento.com)
Список pgsql-bugs
adurugkar@xento.com writes:
> describe command is getting locked due to ALTER statement running on real
> table.

This isn't a bug IMO; if anything, it's a bug that the old implementation
of pg_get_indexdef didn't result in acquiring any lock.  Without a lock,
you're at least at risk of printing garbage information, and I suspect
crashes were not out of the question.

> It was working fine on 9.3.4 version.

I rather doubt this behavior changed just in 9.3.5.  That code got
rewritten during 9.3 development.

            regards, tom lane

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

Предыдущее
От: adurugkar@xento.com
Дата:
Сообщение: BUG #11321: describe command is getting locked due to ALTER statement running on public table
Следующее
От: thomas@landauer.at
Дата:
Сообщение: BUG #11325: Documentation Bug / RFE