| От | Tom Lane |
|---|---|
| Тема | Re: Lock conflict behavior? |
| Дата | |
| Msg-id | 20486.1232666453@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Lock conflict behavior? (Jeff Davis <pgsql@j-davis.com>) |
| Ответы |
Re: Lock conflict behavior?
|
| Список | pgsql-hackers |
Jeff Davis <pgsql@j-davis.com> writes:
> On Wed, 2009-01-21 at 15:08 -0800, Jeff Davis wrote:
>> If we keep the permission check in LockTableCommand(), I can make a
>> patch that produces a more useful error message when the table is
>> removed right before the pg_class_aclcheck().
> Attached.
This is pretty horrid, because it converts any error whatsoever into
"relation does not exist". For counterexamples consider "statement
timeout reached", "query cancelled by user", "pg_class is corrupted",
etc etc.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера