From 03024ca5a1437712bfa554470711f44577dcc3d2 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 28 Feb 2006 16:41:21 +0000 Subject: Add PG_VERSION_NUM for use by 3rd party applications wanting to test the backend version in C using > and < comparisons. --- src/include/pg_config.h.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in index 8c5a69a85bc..e948cb207ad 100644 --- a/src/include/pg_config.h.in +++ b/src/include/pg_config.h.in @@ -547,9 +547,12 @@ (--with-krb-srvnam=NAME) */ #undef PG_KRB_SRVNAM -/* PostgreSQL version */ +/* PostgreSQL version as a string */ #undef PG_VERSION +/* PostgreSQL version as a number */ +#undef PG_VERSION_NUM + /* A string containing the version number, platform, and C compiler */ #undef PG_VERSION_STR -- cgit v1.2.3