Re: ALTER TABLE ... REPLACE WITH

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: ALTER TABLE ... REPLACE WITH
Дата
Msg-id 4D081DAE.2010507@agliodbs.com
обсуждение исходный текст
Ответ на Re: ALTER TABLE ... REPLACE WITH  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
> I have; the above would hold the lock window open while the SELECT runs
> and that is explicitly something we are trying to avoid.

Not necessarily.  You could copy into a temp table first, and then swap.

--                                  -- Josh Berkus                                    PostgreSQL Experts Inc.
                        http://www.pgexperts.com
 


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Segfault related to pg_authid when running initdb from git master
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Per-column collation