Re: truncate partitioned table locking

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: truncate partitioned table locking
Дата
Msg-id 20384.1150741590@sss.pgh.pa.us
обсуждение исходный текст
Ответ на truncate partitioned table locking  ("Sriram Dandapani" <sdandapani@counterpane.com>)
Ответы Re: truncate partitioned table locking
Список pgsql-admin
"Sriram Dandapani" <sdandapani@counterpane.com> writes:
> I have master table A, inherited by Table B and Table C

> Does the truncation of a child table take a lock on the master table ?

No, but it certainly locks the child table ... and queries on A are
going to try to scan all three tables.

            regards, tom lane

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

Предыдущее
От: "Sriram Dandapani"
Дата:
Сообщение: truncate partitioned table locking
Следующее
От: "Sriram Dandapani"
Дата:
Сообщение: Re: truncate partitioned table locking