pgsql: Improve compiler string shown in version() - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Improve compiler string shown in version()
Date
Msg-id E1QIRJC-0002iX-G2@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8dd2ede3f82505c3fd041c1953524305df0732d1

Modified Files
--------------
configure    |    3 ++-
configure.in |    3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Move RegisterPredicateLockingXid() call to a safer place.
Next
From: Robert Haas
Date:
Subject: pgsql: Fix typos in SECURITY LABEL documentation.