Re: CREATE INDEX and HOT - revised design

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CREATE INDEX and HOT - revised design
Дата
Msg-id 3748.1175203634@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: CREATE INDEX and HOT - revised design  ("Simon Riggs" <simon@2ndquadrant.com>)
Ответы Re: CREATE INDEX and HOT - revised design  ("Florian G. Pflug" <fgp@phlo.org>)
Re: CREATE INDEX and HOT - revised design  ("Simon Riggs" <simon@2ndquadrant.com>)
Список pgsql-hackers
"Simon Riggs" <simon@2ndquadrant.com> writes:
> ISTM that the run-another-transaction-afterwards idea is the only one
> that does everything I think we need. I really do wish we could put in a
> wait, like CIC, but I just think it will break existing programs.

Actually, there's a showstopper objection to that: plain CREATE INDEX
has to be able to run within a larger transaction.  (To do otherwise
breaks "pg_dump --single-transaction", just for starters.)  This means
it can *not* commit partway through.

Back to the drawing board :-(
        regards, tom lane


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

Предыдущее
От: "Carlos Chacon"
Дата:
Сообщение: timing in PostgreSQL
Следующее
От: "Florian G. Pflug"
Дата:
Сообщение: Re: CREATE INDEX and HOT - revised design