forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5110a96
committed
In pg_dump, dump SEQUENCE SET items in the data not pre-data section.
Represent a sequence's current value as a separate TableDataInfo dumpableobject, so that it can be dumped within the data section of the archiverather than in pre-data. This fixes an undesirable inconsistency betweenthe meanings of "--data-only" and "--section=data", and also fixes dumpingof sequences that are marked as extension configuration tables, as per areport from Marko Kreen back in July. The main cost is that we do one moreSQL query per sequence, but that's probably not very meaningful in mostdatabases.Back-patch to 9.1, since it has the extension configuration issue eventhough not the --section switch.1 parentf01936f commit5110a96
1 file changed
+186
-159
lines changed0 commit comments
Comments
(0)