Re: temporary tables are logged somehow?

Поиск
Список
Период
Сортировка
От Andrey Lizenko
Тема Re: temporary tables are logged somehow?
Дата
Msg-id CADKuZZAcOpGjt8ZGqNEL0_LbXToPEKWrt_hUWUPzbZhHoPoaKA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: temporary tables are logged somehow?  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-general
Why unlogged tables behaviour is not the same?
If I try this:
create unlogged table if not exists positiontemporarytable (pos_instrument_id integer, pos_code varchar(40));
prepare pos_delete as delete from "positiontemporarytable";
execute pos_delete;
no WAL files created at all.


On 22 January 2015 at 17:36, Michael Paquier <michael.paquier@gmail.com> wrote:
On Thu, Jan 22, 2015 at 11:06 PM, Andrey Lizenko <lizenko79@gmail.com> wrote:
>> 3. They are not WAL-logged.
> Whats wrong with it in my case?
Nothing. Temporary tables are not WAL-logged, but transaction commit is.
--
Michael



--
Regards, Andrey Lizenko

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: How to create a specific table
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: How to create a specific table