git.postgresql.org Git - postgresql.git/commit
2017年2月27日 13:30:06 +0000 (08:30 -0500)
2017年2月27日 13:54:51 +0000 (08:54 -0500)
commit 2ed193c904679a533d5e26a27c97119793bcae52
chomp PQerrorMessage() in backend uses
PQerrorMessage() returns an error message with a trailing newline, but
in backend use (dblink, postgres_fdw, libpqwalreceiver), we want to have
the error message without that for emitting via ereport(). To simplify
that, add a function pchomp() that returns a pstrdup'ed string with the
trailing newline characters removed.
This is the main PostgreSQL git repository.
RSS
Atom