diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2019-11-04 15:50:57 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2019-11-05 01:23:39 -0300 |
commit | 3574c0ac0509df2a70fa225f379541ef22c5756d (patch) | |
tree | 5ce306873605b5a179f1cb7bdd49ed5a4c344c9c /src/backend/libpq/auth.c | |
parent | 8f8ff09d49affd665dce3b6b8563a96ad9821a99 (diff) |
Change pg_restore -f- to dump to stdout instead of to ./-
Starting with PostgreSQL 12, pg_restore refuses to run when neither -d
nor -f are specified (c.f. commit 413ccaa74d9a), and it also makes "-f -"
mean the old implicit behavior of dumping to stdout. However, older
branches write to a file called ./- when invoked like that, making it
impossible to write pg_restore scripts that work across versions. This
is a partial backpatch of the aforementioned commit to all older
supported branches, providing an upgrade path.
Discussion: https://postgr.es/m/20191006190839.GE18030@telsasoft.com
Diffstat (limited to 'src/backend/libpq/auth.c')
0 files changed, 0 insertions, 0 deletions