mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-06 00:06:51 +02:00
2ed193c904
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. |
||
---|---|---|
.. | ||
.gitignore | ||
dblink.out |