pg_isready has --username:

  -U, --username=USERNAME  user name to connect as


so is replying when given a non-existent user not a bug?

pg_isready --username=xxxx -p 6544
/tmp:6544 - accepting connections

There is no user xxxx.  (PG envvars are removed)


Thanks,

Erik Rijkers








-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to