pgsql: Add new variable "server_version_num", which is almost the same

From: momjian(at)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add new variable "server_version_num", which is almost the same
Date: 2006-09-02 13:12:50
Message-ID: 20060902131250.BD0539FB4EB@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Log Message:
-----------
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.

Greg Sabino Mullane greg(at)turnstep(dot)com

Modified Files:
--------------
pgsql/doc/src/sgml:
config.sgml (r1.78 -> r1.79)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/config.sgml.diff?r1=1.78&r2=1.79)
pgsql/src/backend/utils/misc:
check_guc (r1.9 -> r1.10)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/check_guc.diff?r1=1.9&r2=1.10)
guc.c (r1.346 -> r1.347)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/guc.c.diff?r1=1.346&r2=1.347)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2006-09-02 13:47:18 Re: [COMMITTERS] pgsql: Suppress some NOTICE messages from REINDEX command.
Previous Message Bruce Momjian 2006-09-02 12:31:10 pgsql: Update wording: < o -Allow PL/python to composite types and

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-09-02 13:14:06 Re: Simplifying "standby mode"
Previous Message Bruce Momjian 2006-09-02 13:12:48 Re: New variable server_version_num