Add new variable "server_version_num", which is almost the same as

Bruce Momjian <bruce@momjian.us>

Commit: 04912899e792094ed00766b99b6c604cadf9edf7
Author: Bruce Momjian <bruce@momjian.us>
Date: 2006-09-02T13:12:50Z
Releases: 8.2.0
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@turnstep.com

Files

PathChange+/−
doc/src/sgml/config.sgml modified +14 −1
src/backend/utils/misc/check_guc modified +3 −3
src/backend/utils/misc/guc.c modified +13 −1