]> granicus.if.org Git - postgresql/commit
Strip file names reported in error messages in vpath builds
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 29 Nov 2011 20:04:59 +0000 (22:04 +0200)
committerPeter Eisentraut <peter_e@gmx.net>
Wed, 30 Nov 2011 04:47:03 +0000 (06:47 +0200)
commit1a44811775d00ac4ac1d3e727bdc9c05ea56a8b9
treec0d72a2d47b18d4ce447b0491bef90266656f119
parente53724fd5e8a524dda770995bacb5e77575d5b90
Strip file names reported in error messages in vpath builds

In vpath builds, the __FILE__ macro that is used in verbose error
reports contains the full absolute file name, which makes the error
messages excessively verbose.  So keep only the base name, thus
matching the behavior of non-vpath builds.
src/backend/utils/error/elog.c