| От | Tom Lane |
|---|---|
| Тема | Re: Truncate |
| Дата | |
| Msg-id | 5577.1029853310@sss.pgh.pa.us обсуждение |
| Ответ на | Truncate (Rod Taylor <rbt@zort.ca>) |
| Ответы |
Re: Truncate
|
| Список | pgsql-patches |
Rod Taylor <rbt@zort.ca> writes:
> The issue with finding and removing foreign key constraints is no longer
> an issue, so please apply the attached.
I do not like adding a system-table index just for the convenience of
this one not-very-time-critical function. Please rewrite the patch
without that.
BTW, if you are only reading the table and not writing it, the correct
lock type to get is AccessShareLock, not RowExclusiveLock.
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера