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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: b38bac2) | patch
libpq: Improve error message when parsing URI parameters and keywords
2024年11月19日 04:27:42 +0000 (13:27 +0900)
2024年11月19日 04:27:42 +0000 (13:27 +0900)
commit a3699daea2026de324ed7cc7115c36d3499010d3
libpq: Improve error message when parsing URI parameters and keywords

The error message showing up when parameters or keywords include too
many whitespaces was "trailing data found", which was confusing because
there was no hint about what was actually wrong.

Issue introduced in 430ce189fc45, hence there is no need for a
backpatch.

Author: Yushi Ogiwara
Reviewed-by: Fujii Masao, Tom Lane, Bruce Momjian
Discussion: https://postgr.es/m/645bd22a53c4da8a1bc7e1e52d9d3b52@oss.nttdata.com
src/interfaces/libpq/fe-connect.c diff | blob | blame | history
src/interfaces/libpq/t/001_uri.pl diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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