Re: [COMMITTERS] pgsql: Add new variable "server_version_num", which is almost the same - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [COMMITTERS] pgsql: Add new variable "server_version_num", which is almost the same
Date
Msg-id 2337.1157207406@sss.pgh.pa.us
Whole thread Raw
Responses Re: [COMMITTERS] pgsql: Add new variable  (Bruce Momjian <bruce@momjian.us>)
Re: [COMMITTERS] pgsql: Add new variable "server_version_num", which is almost the same  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
momjian@postgresql.org (Bruce Momjian) writes:
> Add new variable "server_version_num", which is almost the same as
> "server_version" but uses the handy PG_VERSION_NUM which allows apps to
> do things like if ($version >= 80200) without having to parse apart the
> value of server_version themselves.

I thought this was rejected as being utterly useless.  Or is this commit
somehow going to retroactively affect existing old servers?

A non-useless version of this would be client-side code ... except it's
already there, in libpq at least.

Please revert.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCHES] Resurrecting per-page cleaner for
Next
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql: Suppress some NOTICE