Re: Temporary table and dump

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: Temporary table and dump
Дата
Msg-id A737B7A37273E048B164557ADEF4A58B50F7346F@ntex2010a.host.magwien.gv.at
обсуждение исходный текст
Ответ на Temporary table and dump  (Emmanuel Quevillon <tuco@pasteur.fr>)
Список pgsql-novice
Emmanuel Quevillon wrote:
> I've read from the doc that a temporary table is destroyed when a
> session ends.
> 
> My question is then, is a temporary table saved into a dump if pg_dump
> is launched while the session that created the temporary table is not ended?
> 
> Thus, during the pg_restore, the temporary table is re-created or not?

A temporary table will never be in a database dump.

The temporary table is only visible in the session that created it, and pg_dump
does not create temporary tables.

Yours,
Laurenz Albe

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

Предыдущее
От: Emmanuel Quevillon
Дата:
Сообщение: Temporary table and dump
Следующее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: Replication DB scenario