forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit27d2c12
committed
pg_dump: Separate table and sequence data object types
Instead of handling both sequence data and table data internally as"table data", handle sequences separately under a "sequence set" type.We already handled materialized view data differently, so it makes thecode somewhat cleaner to handle each relation kind separately at the toplevel.This does not change the output format, since there already was aseparate "SEQUENCE SET" archive entry type. A noticeable difference isthat SEQUENCE SET entries now always appear after TABLE DATA entries.And in parallel mode there is less sorting to do, because the sequencedata entries are no longer considered table data.Reviewed-by: Anastasia Lubennikova <a.lubennikova@postgrespro.ru>Reviewed-by: Michael Paquier <michael.paquier@gmail.com>1 parentd5d8a0b commit27d2c12
3 files changed
+25
-15
lines changedLines changed: 7 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2090 | 2090 |
| |
2091 | 2091 |
| |
2092 | 2092 |
| |
| 2093 | + | |
| 2094 | + | |
2093 | 2095 |
| |
2094 | 2096 |
| |
2095 | 2097 |
| |
| |||
8498 | 8500 |
| |
8499 | 8501 |
| |
8500 | 8502 |
| |
| 8503 | + | |
| 8504 | + | |
| 8505 | + | |
8501 | 8506 |
| |
8502 |
| - | |
8503 |
| - | |
8504 |
| - | |
8505 |
| - | |
| 8507 | + | |
8506 | 8508 |
| |
8507 | 8509 |
| |
8508 | 8510 |
| |
| |||
16226 | 16228 |
| |
16227 | 16229 |
| |
16228 | 16230 |
| |
| 16231 | + | |
16229 | 16232 |
| |
16230 | 16233 |
| |
16231 | 16234 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
| 66 | + | |
66 | 67 |
| |
67 | 68 |
| |
68 | 69 |
| |
|
Lines changed: 17 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
47 | 47 |
| |
48 | 48 |
| |
49 | 49 |
| |
50 |
| - | |
51 |
| - | |
52 |
| - | |
53 |
| - | |
54 |
| - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
| 58 | + | |
58 | 59 |
| |
59 | 60 |
| |
60 | 61 |
| |
61 | 62 |
| |
62 | 63 |
| |
63 | 64 |
| |
64 | 65 |
| |
65 |
| - | |
| 66 | + | |
66 | 67 |
| |
67 | 68 |
| |
68 |
| - | |
| 69 | + | |
69 | 70 |
| |
70 |
| - | |
71 |
| - | |
72 |
| - | |
73 |
| - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
74 | 75 |
| |
75 | 76 |
| |
76 | 77 |
| |
| |||
1345 | 1346 |
| |
1346 | 1347 |
| |
1347 | 1348 |
| |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
1348 | 1354 |
| |
1349 | 1355 |
| |
1350 | 1356 |
| |
|
0 commit comments
Comments
(0)