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_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/afabfcc0eb16d64bedeaf8152ef748f99edba55d Modified Files -------------- doc/src/sgml/ref/psql-ref.sgml | 21 ++++---- src/bin/psql/command.c | 109 ++++++++++++++++++++++++++++------------- src/bin/psql/startup.c | 2 +- 3 files changed, 88 insertions(+), 44 deletions(-)
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера