aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/sequence.c
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2013-11-21 21:52:03 +0900
committerFujii Masao <fujii@postgresql.org>2013-11-21 21:52:03 +0900
commit38f432898131270e5b64245786cb67f322538bae (patch)
treeb5dd8c5d96c832b9af432f17e74f2f02c69da9e4 /src/backend/commands/sequence.c
parent04eee1fa9ee80dabf7cf4b8b9106897272e9b291 (diff)
downloadpostgresql-38f432898131270e5b64245786cb67f322538bae.tar.gz
postgresql-38f432898131270e5b64245786cb67f322538bae.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/commands/sequence.c')
0 files changed, 0 insertions, 0 deletions