forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit289a826
committed
Here is a new version of my patch for allowing pg_dump to DROP schema
elements prior to CREATEing new ones. It is under control of the -ccommand line option (with the default being status quo).The DROP TRIGGER portion still needs implementation. Anyone able tohelp clarify what exactly the CREATE TRIGGER portion does so I can fixthis?Again, I have tried this with tables/indexes/sequences, but do nothave other schema elements in my database. As a result, I am not 100%convinced that I got the syntax correct in all cases (but think I did,nonetheless). If anyone can check the other cases, I'd appreciate it.Cheers,Brook[I added manual page and sgml additions for the new -c option.]1 parentc91dbcc commit289a826
File tree
3 files changed
+100
-4
lines changed- doc/src/sgml/ref
- src
- bin/pg_dump
- man
3 files changed
+100
-4
lines changedLines changed: 12 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
| 25 | + | |
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
| |||
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
66 | 77 |
| |
67 | 78 |
| |
68 | 79 |
| |
|
Lines changed: 81 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
| 24 | + | |
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
| |||
117 | 117 |
| |
118 | 118 |
| |
119 | 119 |
| |
| 120 | + | |
120 | 121 |
| |
121 | 122 |
| |
122 | 123 |
| |
| |||
132 | 133 |
| |
133 | 134 |
| |
134 | 135 |
| |
| 136 | + | |
| 137 | + | |
135 | 138 |
| |
136 | 139 |
| |
137 | 140 |
| |
| |||
556 | 559 |
| |
557 | 560 |
| |
558 | 561 |
| |
| 562 | + | |
559 | 563 |
| |
560 | 564 |
| |
561 | 565 |
| |
| |||
565 | 569 |
| |
566 | 570 |
| |
567 | 571 |
| |
568 |
| - | |
| 572 | + | |
569 | 573 |
| |
570 | 574 |
| |
571 | 575 |
| |
572 | 576 |
| |
573 | 577 |
| |
574 | 578 |
| |
| 579 | + | |
| 580 | + | |
| 581 | + | |
575 | 582 |
| |
576 | 583 |
| |
577 | 584 |
| |
| |||
1638 | 1645 |
| |
1639 | 1646 |
| |
1640 | 1647 |
| |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
1641 | 1660 |
| |
1642 | 1661 |
| |
1643 | 1662 |
| |
| |||
2034 | 2053 |
| |
2035 | 2054 |
| |
2036 | 2055 |
| |
| 2056 | + | |
| 2057 | + | |
| 2058 | + | |
| 2059 | + | |
| 2060 | + | |
| 2061 | + | |
2037 | 2062 |
| |
2038 | 2063 |
| |
2039 | 2064 |
| |
| |||
2130 | 2155 |
| |
2131 | 2156 |
| |
2132 | 2157 |
| |
| 2158 | + | |
| 2159 | + | |
| 2160 | + | |
2133 | 2161 |
| |
2134 | 2162 |
| |
2135 | 2163 |
| |
| |||
2245 | 2273 |
| |
2246 | 2274 |
| |
2247 | 2275 |
| |
| 2276 | + | |
| 2277 | + | |
| 2278 | + | |
| 2279 | + | |
| 2280 | + | |
| 2281 | + | |
| 2282 | + | |
| 2283 | + | |
| 2284 | + | |
| 2285 | + | |
| 2286 | + | |
| 2287 | + | |
| 2288 | + | |
| 2289 | + | |
| 2290 | + | |
| 2291 | + | |
| 2292 | + | |
2248 | 2293 |
| |
2249 | 2294 |
| |
2250 | 2295 |
| |
| |||
2355 | 2400 |
| |
2356 | 2401 |
| |
2357 | 2402 |
| |
| 2403 | + | |
| 2404 | + | |
| 2405 | + | |
| 2406 | + | |
| 2407 | + | |
| 2408 | + | |
| 2409 | + | |
| 2410 | + | |
2358 | 2411 |
| |
2359 | 2412 |
| |
2360 | 2413 |
| |
| |||
2450 | 2503 |
| |
2451 | 2504 |
| |
2452 | 2505 |
| |
| 2506 | + | |
| 2507 | + | |
| 2508 | + | |
| 2509 | + | |
| 2510 | + | |
| 2511 | + | |
| 2512 | + | |
2453 | 2513 |
| |
2454 | 2514 |
| |
2455 | 2515 |
| |
| |||
2649 | 2709 |
| |
2650 | 2710 |
| |
2651 | 2711 |
| |
| 2712 | + | |
| 2713 | + | |
| 2714 | + | |
| 2715 | + | |
| 2716 | + | |
| 2717 | + | |
2652 | 2718 |
| |
2653 | 2719 |
| |
2654 | 2720 |
| |
| |||
2865 | 2931 |
| |
2866 | 2932 |
| |
2867 | 2933 |
| |
| 2934 | + | |
| 2935 | + | |
| 2936 | + | |
| 2937 | + | |
| 2938 | + | |
| 2939 | + | |
| 2940 | + | |
2868 | 2941 |
| |
2869 | 2942 |
| |
2870 | 2943 |
| |
| |||
3125 | 3198 |
| |
3126 | 3199 |
| |
3127 | 3200 |
| |
| 3201 | + | |
| 3202 | + | |
| 3203 | + | |
| 3204 | + | |
| 3205 | + | |
| 3206 | + | |
3128 | 3207 |
| |
3129 | 3208 |
| |
3130 | 3209 |
| |
|
Lines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 |
| |
14 | 17 |
| |
15 | 18 |
| |
| |||
74 | 77 |
| |
75 | 78 |
| |
76 | 79 |
| |
| 80 | + | |
| 81 | + | |
| 82 | + | |
77 | 83 |
| |
78 | 84 |
| |
79 | 85 |
| |
|
0 commit comments
Comments
(0)