aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2011-05-06 22:14:53 +0300
committerPeter Eisentraut <peter_e@gmx.net>2011-05-06 23:01:50 +0300
commit8dd2ede3f82505c3fd041c1953524305df0732d1 (patch)
treee0c5b6c261d8bb613964398b2b310236611d089a /src/backend/access/gist/gist.c
parentd2088ae949993ad8e3aabc3b6a9cd77aa5cac957 (diff)
downloadpostgresql-8dd2ede3f82505c3fd041c1953524305df0732d1.tar.gz
postgresql-8dd2ede3f82505c3fd041c1953524305df0732d1.zip
Improve compiler string shown in version()
With some compilers such as Clang and ICC emulating GCC, using a version string of the form "GCC $version" can be quite misleading. Also, a great while ago, the version output from gcc --version started including the string "gcc", so it is redundant to repeat that. In order to support ancient GCC versions, we now prefix the result with "GCC " only if the version output does not start with a letter.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions