]> 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:46:52 +0000 (06:46 +0200)
commit74f02254c5c2b8f0bca49ed482b1c82899290ca5
treea4e75f52322f9db933f4cf6f9094c58383feeb81
parent322fc5cf569da335e46e9b8ff1b0f5c9e1847d94
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