Re: Locking a database

Поиск
Список
Период
Сортировка
От Lincoln Yeoh
Тема Re: Locking a database
Дата
Msg-id 3.0.5.32.20010501223534.008b3790@192.228.128.13
обсуждение исходный текст
Ответ на Re: Locking a database  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
At 03:08 PM 4/30/01 -0400, Tom Lane wrote:
>"Jose Norberto" <nn_jose@hotmail.com> writes:
>> I want to make a pg_dump of a database, but I must be sure that no one is
>> logged in.
>
>Why?
>
>pg_dump will return a consistent state of the database even if other
>transactions are proceeding meanwhile.

Maybe it's a final dump before a db upgrade/swap.

The consistent database state must also be consistent with what the rest of
the world thinks.

e.g. no customers ordering stuff or users doing stuff that's left out in
the pg_dump.

Cheerio,
Link.


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

Предыдущее
От: Fran Fabrizio
Дата:
Сообщение: Multicolumn index - is there a limit?
Следующее
От: John Coers
Дата:
Сообщение: Re: Copy