postgresql/src/bin/scripts
Fujii Masao 844534dd4d 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.
2013-11-21 21:54:19 +09:00
..
po Translation updates 2013-10-07 16:27:04 -04:00
.gitignore pg_isready 2013-01-23 11:01:20 -05:00
clusterdb.c Support multiple -t/--table arguments for more commands 2013-01-17 11:24:47 +01:00
common.c Move pqsignal() to libpgport. 2013-03-17 12:06:42 -04:00
common.h Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
createdb.c Update copyrights for 2013 2013-01-01 17:15:01 -05:00
createlang.c Update copyrights for 2013 2013-01-01 17:15:01 -05:00
createuser.c Update copyrights for 2013 2013-01-01 17:15:01 -05:00
dropdb.c Update copyrights for 2013 2013-01-01 17:15:01 -05:00
droplang.c Update copyrights for 2013 2013-01-01 17:15:01 -05:00
dropuser.c Update copyrights for 2013 2013-01-01 17:15:01 -05:00
Makefile scripts: Add build prerequisite on libpgport 2013-02-08 06:43:54 -05:00
nls.mk Translation updates 2013-09-02 02:28:21 -04:00
pg_isready.c Fix pg_isready to handle -d option properly. 2013-11-21 21:54:19 +09:00
reindexdb.c Support multiple -t/--table arguments for more commands 2013-01-17 11:24:47 +01:00
vacuumdb.c Support multiple -t/--table arguments for more commands 2013-01-17 11:24:47 +01:00