From: | Fujii Masao <fujii(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Fix pg_isready to handle conninfo properly. |
Date: | 2013-06-10 18:04:11 |
Message-ID: | E1Um6Rv-0007xI-Ra@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Fix pg_isready to handle conninfo properly.
pg_isready displays the host name and the port number that it uses to connect
to the server. So far, pg_isready didn't use the conninfo specified in -d option
for calculating those host name and port number. This can lead to wrong display
to a user. This commit changes pg_isready so that it uses the conninfo for that
calculation.
Original patch by Phil Sorber, modified by me.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/941c4ece98d08113b557bc8e7dbd8a9ac0ffac3e
Modified Files
--------------
src/bin/scripts/pg_isready.c | 116 +++++++++++++++++++++++-------------------
1 file changed, 64 insertions(+), 52 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Noah Misch | 2013-06-11 03:15:09 | Re: Re: [COMMITTERS] pgsql: Don't downcase non-ascii identifier chars in multi-byte encoding |
Previous Message | Joe Conway | 2013-06-10 00:32:46 | pgsql: Fix ordering of obj id for Rules and EventTriggers in pg_dump. |