| From: | Noah Misch <noah(at)leadboat(dot)com> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Introduce a psql "\connect -reuse-previous=on|off" option. |
| Date: | 2016-08-08 14:10:48 |
| Message-ID: | E1bWlGS-0006os-JW@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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
Branch
------
REL9_2_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/f744e8906f7d029af2b9860469d8ebf77cb47e56
Modified Files
--------------
doc/src/sgml/ref/psql-ref.sgml | 21 ++++----
src/bin/psql/command.c | 110 ++++++++++++++++++++++++++++-------------
src/bin/psql/startup.c | 2 +-
3 files changed, 89 insertions(+), 44 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2016-08-08 14:34:05 | pgsql: Fix two errors with nested CASE/WHEN constructs. |
| Previous Message | Peter Eisentraut | 2016-08-08 13:28:05 | pgsql: doc: Update benchmark results |