]> git.ipfire.org Git - thirdparty/postgresql.git/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>
Tue, 29 Nov 2011 21:51:28 +0000 (23:51 +0200)
commit75b61836940aaa81f3073c7e77f8c295d99093ae
tree53e4b3c33a4b9b8604433006aebff2fac3eee8b5
parentd16ebde58275d848968e758ec643efc8ce64c8fa
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