Skip site navigation (1) Skip section navigation (2)

pgsql: Don't forget to de-escape the password field in .pgpass.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Don't forget to de-escape the password field in .pgpass.
Date: 2011-12-22 18:03:12
Message-ID: E1Rdmz2-0004AY-AM@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Don't forget to de-escape the password field in .pgpass.

This has been broken just about forever (or more specifically, commit
7f4981f4af1700456f98ac3f2b2d84959919ec81) and nobody noticed until
Richard Huxton reported it recently.  Analysis and fix by Ross
Reedstrom, although I didn't use his patch.  This doesn't seem
important enough to back-patch and is mildly backward incompatible, so
I'm just doing this in master.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8d15e3ec4fcb735875a8a70a09ec0c62153c3329

Modified Files
--------------
src/interfaces/libpq/fe-connect.c |   14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)

pgsql-committers by date

Next:From: Peter EisentrautDate: 2011-12-22 20:45:30
Subject: pgsql: Add ALTER DOMAIN ... RENAME
Previous:From: User FxjrDate: 2011-12-22 15:08:02
Subject: npgsql - Npgsql2: Fixed line endings.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group