]> 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:55:27 +0000 (06:55 +0200)
commit81a50686b884632d2e8b18ecb4c70ea2f39178d6
treec8bb1429b82ce717d2b9670a08e4e2cca0142906
parent2767158978796f4ce5cf39d28f29d32b66ee142e
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