git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 55dc86e) | patch
Improve new wording of libpq's connection failure messages.
2021年1月21日 21:10:18 +0000 (16:10 -0500)
2021年1月21日 21:10:18 +0000 (16:10 -0500)
commit 27a48e5a16ff2227ddf44ee717d9bcd89d22a7aa
Improve new wording of libpq's connection failure messages.

"connection to server so-and-so failed:" seems clearer than the
previous wording "could not connect to so-and-so:" (introduced by
52a10224e), because the latter suggests a network-level connection
failure. We're now prefixing this string to all types of connection
failures, for instance authentication failures; so we need wording
that doesn't imply a low-level error.

Per discussion with Robert Haas.

Discussion: https://postgr.es/m/CA+TgmobssJ6rS22dspWnu-oDxXevGmhMD8VcRBjmj-b9UDqRjw@mail.gmail.com
src/bin/pg_dump/t/002_pg_dump.pl diff | blob | blame | history
src/interfaces/ecpg/test/expected/connect-test5.stderr diff | blob | blame | history
src/interfaces/ecpg/test/pg_regress_ecpg.c diff | blob | blame | history
src/interfaces/libpq/fe-connect.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /