Re: Truncate

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Truncate
Дата
Msg-id 5577.1029853310@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Truncate  (Rod Taylor <rbt@zort.ca>)
Ответы Re: Truncate  (Rod Taylor <rbt@zort.ca>)
Список 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 по дате отправления:

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: first cut at PL/PgSQL table functions
Следующее
От: Rod Taylor
Дата:
Сообщение: Re: Truncate