forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5ee8f0f
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 parentf5efc93 commit5ee8f0f
File tree
3 files changed
+9
-4
lines changed- doc/src/sgml/ref
- src/bin/pg_dump
3 files changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
169 | | - | |
| 168 | + | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1523 | 1523 | | |
1524 | 1524 | | |
1525 | 1525 | | |
1526 | | - | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
1527 | 1532 | | |
1528 | 1533 | | |
1529 | 1534 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
451 | 451 | | |
452 | 452 | | |
453 | 453 | | |
454 | | - | |
| 454 | + | |
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
| |||
0 commit comments
Comments
(0)