forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit413ccaa
committed
pg_restore: Require "-f -" to mean stdout
The previous convention that stdout was selected by default when nothingis specified was just too error-prone.After a suggestion from Andrew Gierth.Author: Euler TaveiraReviewed-by: Yoshikazu Imai, José Arthur Benetasso VillanovaDiscussion:https://postgr.es/m/87sgwrmhdv.fsf@news-spur.riddles.org.uk1 parent9c703c1 commit413ccaa
File tree
4 files changed
+30
-12
lines changed- doc/src/sgml/ref
- src/bin/pg_dump
- t
4 files changed
+30
-12
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
176 | 176 |
| |
177 | 177 |
| |
178 | 178 |
| |
179 |
| - | |
180 |
| - | |
| 179 | + | |
| 180 | + | |
181 | 181 |
| |
182 | 182 |
| |
183 | 183 |
| |
|
Lines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1512 | 1512 |
| |
1513 | 1513 |
| |
1514 | 1514 |
| |
1515 |
| - | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
1516 | 1521 |
| |
1517 | 1522 |
| |
1518 | 1523 |
| |
|
Lines changed: 8 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
306 | 306 |
| |
307 | 307 |
| |
308 | 308 |
| |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
309 | 316 |
| |
310 | 317 |
| |
311 | 318 |
| |
| |||
461 | 468 |
| |
462 | 469 |
| |
463 | 470 |
| |
464 |
| - | |
| 471 | + | |
465 | 472 |
| |
466 | 473 |
| |
467 | 474 |
| |
|
Lines changed: 14 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| |||
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
53 |
| - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
54 | 60 |
| |
55 | 61 |
| |
56 | 62 |
| |
| |||
66 | 72 |
| |
67 | 73 |
| |
68 | 74 |
| |
69 |
| - | |
| 75 | + | |
70 | 76 |
| |
71 | 77 |
| |
72 | 78 |
| |
| |||
92 | 98 |
| |
93 | 99 |
| |
94 | 100 |
| |
95 |
| - | |
| 101 | + | |
96 | 102 |
| |
97 | 103 |
| |
98 | 104 |
| |
99 | 105 |
| |
100 |
| - | |
| 106 | + | |
101 | 107 |
| |
102 | 108 |
| |
103 | 109 |
| |
| |||
107 | 113 |
| |
108 | 114 |
| |
109 | 115 |
| |
110 |
| - | |
| 116 | + | |
111 | 117 |
| |
112 | 118 |
| |
113 | 119 |
| |
114 | 120 |
| |
115 |
| - | |
| 121 | + | |
116 | 122 |
| |
117 | 123 |
| |
118 | 124 |
| |
| |||
146 | 152 |
| |
147 | 153 |
| |
148 | 154 |
| |
149 |
| - | |
| 155 | + | |
150 | 156 |
| |
151 | 157 |
| |
152 | 158 |
| |
|
0 commit comments
Comments
(0)