[HACKERS] pg_dump --sequence-data option

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема [HACKERS] pg_dump --sequence-data option
Дата
Msg-id 87915366-4c1c-3c95-4043-b3f7ef57dd0b@2ndquadrant.com
обсуждение исходный текст
Список pgsql-hackers
At the conclusion of
<f6ed028e-ac25-e849-aec6-8d69416f0090@2ndquadrant.com>, pg_upgrade was
changed to upgrade sequences "logically".  We initially did that by
adding a pg_dump option --sequence-data that would dump sequence data
(setval calls) in spite of --schema-only.  Later, that option was
removed as a separate option and made automatic in --binary-upgrade,
because we didn't think it was useful independently.

For logical replication, sequence data is not replicated at the moment.
So it could be useful in some cases to have a simple way to dump just
the sequence data.  So I think it would be worth adding that option back.

Comments?

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] Allow pg_dumpall to work without pg_authid
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: [HACKERS] pageinspect and hash indexes