Re: [HACKERS] COPY with no WAL, in certain circumstances

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] COPY with no WAL, in certain circumstances
Дата
Msg-id 13252.1168190046@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] COPY with no WAL, in certain circumstances  ("Simon Riggs" <simon@2ndquadrant.com>)
Список pgsql-patches
"Simon Riggs" <simon@2ndquadrant.com> writes:
> There is no failure condition where the rows continue to exist
> on disk && the table relfilenode shows a committed transaction pointing
> to the file containing the marked-valid-but-actually-not rows.

What of

BEGIN;
    CREATE TABLE foo ...;
    SAVEPOINT x;
        COPY foo FROM ...;
    ROLLBACK TO x;
COMMIT;

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] SGML index build fix
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Need help using the Patch to fix bug #2558