diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2011-05-06 22:14:53 +0300 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2011-05-06 23:01:50 +0300 |
commit | 8dd2ede3f82505c3fd041c1953524305df0732d1 (patch) | |
tree | e0c5b6c261d8bb613964398b2b310236611d089a /src/backend/access/gist/gistget.c | |
parent | d2088ae949993ad8e3aabc3b6a9cd77aa5cac957 (diff) | |
download | postgresql-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/gistget.c')
0 files changed, 0 insertions, 0 deletions