Skip site navigation (1) Skip section navigation (2)

pgsql: Improve compiler string shown in version()

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve compiler string shown in version()
Date: 2011-05-06 20:07:30
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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.



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

pgsql-committers by date

Next:From: Robert HaasDate: 2011-05-07 01:19:26
Subject: pgsql: Fix typos in SECURITY LABEL documentation.
Previous:From: Tom LaneDate: 2011-05-06 16:58:11
Subject: pgsql: Move RegisterPredicateLockingXid() call to a safer place.

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group