Re: database changes during a pg_dump

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: database changes during a pg_dump
Дата
Msg-id 8143.1417445952@sss.pgh.pa.us
обсуждение исходный текст
Ответ на database changes during a pg_dump  ("Birchall, Austen" <austen.birchall@metoffice.gov.uk>)
Ответы PGDATA on Windows  ("Birchall, Austen" <austen.birchall@metoffice.gov.uk>)
Список pgsql-novice
"Birchall, Austen" <austen.birchall@metoffice.gov.uk> writes:
> If I do a
> pg_dump -Fc dbname -U postgres > backup.out

> to backup a database am I right to assume that any changes made to the database such as a row update that are made
whilethe pg_dump is actually  running will be captured in the resulting backup.out file? 

No.  You'll get a snapshot as of pg_dump's starting time.

There are some corner cases about DDL that's in progress while pg_dump
starts up, but user data will definitely adhere to the snapshot.

            regards, tom lane


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

Предыдущее
От: "Birchall, Austen"
Дата:
Сообщение: database changes during a pg_dump
Следующее
От: Morovikov Vladimir
Дата:
Сообщение: input data libreoffice calc to postgreSQL Databases