Re: COPY threads

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: COPY threads
Дата
Msg-id 20181010210729.ewntjynvutnlgdn2@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: COPY threads  (Ravi Krishna <srkrishna1@aol.com>)
Ответы Re: COPY threads  (Ravi Krishna <srkrishna1@aol.com>)
Список pgsql-general
Hi,

On 2018-10-10 17:02:59 -0400, Ravi Krishna wrote:
> I am talking about pg_restore which is COPY FROM, which takes exclusive lock on the table
> while the data is loaded into the table.

pg_restore doesn't take locks on the table for the COPY, it does so
because creating the table takes an exclusive lock.

Greetings,

Andres Freund


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

Предыдущее
От: Ravi Krishna
Дата:
Сообщение: Re: COPY threads
Следующее
От: Ravi Krishna
Дата:
Сообщение: Re: COPY threads