diff options
author | Fujii Masao <fujii@postgresql.org> | 2013-11-21 21:52:03 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2013-11-21 21:54:19 +0900 |
commit | 844534dd4d2237011eff928bdf4306a6ababcdb0 (patch) | |
tree | cf0f854352e303e7ed199170763cc0e9d6edee00 /src/backend/utils/adt/ruleutils.c | |
parent | 57282cdedaa64c0db451a6e05884a76195f21f0c (diff) | |
download | postgresql-844534dd4d2237011eff928bdf4306a6ababcdb0.tar.gz postgresql-844534dd4d2237011eff928bdf4306a6ababcdb0.zip |
Fix pg_isready to handle -d option properly.
Previously, -d option for pg_isready was broken. When the name of the
database was specified by -d option, pg_isready failed with an error.
When the conninfo specified by -d option contained the setting of the
host name but not Numeric IP address (i.e., hostaddr), pg_isready
displayed wrong connection message. -d option could not handle a valid
URI prefix at all. This commit fixes these bugs of pg_isready.
Backpatch to 9.3, where pg_isready was introduced.
Per report from Josh Berkus and Robert Haas.
Original patch by FabrÃzio de Royes Mello, heavily modified by me.
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions