forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3574c0a
committed
Change pg_restore -f- to dump to stdout instead of to ./-
Starting with PostgreSQL 12, pg_restore refuses to run when neither -dnor -f are specified (c.f. commit413ccaa), and it also makes "-f -"mean the old implicit behavior of dumping to stdout. However, olderbranches write to a file called ./- when invoked like that, making itimpossible to write pg_restore scripts that work across versions. Thisis a partial backpatch of the aforementioned commit to all oldersupported branches, providing an upgrade path.Discussion:https://postgr.es/m/20191006190839.GE18030@telsasoft.com1 parent8f8ff09 commit3574c0a
File tree
3 files changed
+9
-4
lines changed- doc/src/sgml/ref
- src/bin/pg_dump
3 files changed
+9
-4
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 | |
---|---|---|---|
| |||
1511 | 1511 |
| |
1512 | 1512 |
| |
1513 | 1513 |
| |
1514 |
| - | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
1515 | 1520 |
| |
1516 | 1521 |
| |
1517 | 1522 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
454 | 454 |
| |
455 | 455 |
| |
456 | 456 |
| |
457 |
| - | |
| 457 | + | |
458 | 458 |
| |
459 | 459 |
| |
460 | 460 |
| |
|
0 commit comments
Comments
(0)