forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5a39114
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 parentbf01e34 commit5a39114
2 files changed
+165
-152
lines changedLines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
739 | 739 |
| |
740 | 740 |
| |
741 | 741 |
| |
742 |
| - | |
743 |
| - | |
744 |
| - | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
745 | 745 |
| |
746 |
| - | |
| 746 | + | |
747 | 747 |
| |
748 | 748 |
| |
749 | 749 |
| |
|
0 commit comments
Comments
(0)