Re: What happens to transactions durring a pg_dump?

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: What happens to transactions durring a pg_dump?
Дата
Msg-id 20060109174511.GA43775@winnie.fuhr.org
обсуждение исходный текст
Ответ на What happens to transactions durring a pg_dump?  (Chris Hoover <revoohc@gmail.com>)
Ответы Re: What happens to transactions durring a pg_dump?  (Chris Hoover <revoohc@gmail.com>)
Список pgsql-admin
On Mon, Jan 09, 2006 at 12:22:27PM -0500, Chris Hoover wrote:
> I'm trying to understand better what happens to a transaction that is
> commited in the middle of a pg_dump.  Is the transaction included in the
> database dump, or is it excluded.

If you look at the pg_dump source code or turn on query logging,
you should see that pg_dump starts with

BEGIN
SET TRANSACTION ISOLATION LEVEL SERIALIZABLE

See "Transaction Isolation" in the "Concurrency Control" chapter of the
documentation for an explanation of what that means.

http://www.postgresql.org/docs/8.1/interactive/transaction-iso.html

--
Michael Fuhr

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

Предыдущее
От: Jaime Casanova
Дата:
Сообщение: Re: What happens to transactions durring a pg_dump?
Следующее
От: Chris Hoover
Дата:
Сообщение: Re: What happens to transactions durring a pg_dump?