diff options
author | Noah Misch <noah@leadboat.com> | 2016-08-08 10:07:46 -0400 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2016-08-08 10:07:51 -0400 |
commit | dfb2d8039eb714d6b582a8cb8a7993c98b88a224 (patch) | |
tree | f5f71aca7700c44c81981d34a23eab4527c5677e /src/bin/pg_dump/dumputils.c | |
parent | a44d713512222a519701b7f5ad2634dc3a8fc24b (diff) |
Introduce a psql "\connect -reuse-previous=on|off" option.
The decision to reuse values of parameters from a previous connection
has been based on whether the new target is a conninfo string. Add this
means of overriding that default. This feature arose as one component
of a fix for security vulnerabilities in pg_dump, pg_dumpall, and
pg_upgrade, so back-patch to 9.1 (all supported versions). In 9.3 and
later, comment paragraphs that required update had already-incorrect
claims about behavior when no connection is open; fix those problems.
Security: CVE-2016-5424
Diffstat (limited to 'src/bin/pg_dump/dumputils.c')
0 files changed, 0 insertions, 0 deletions