diff options
author | Bruce Momjian <bruce@momjian.us> | 2006-02-28 16:41:21 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2006-02-28 16:41:21 +0000 |
commit | 03024ca5a1437712bfa554470711f44577dcc3d2 (patch) | |
tree | 3d617265b8d1ddb21ef28422405c6bd24d52d966 /src | |
parent | d2c555ee538f34be7aff744b994df4d2369a9140 (diff) | |
download | postgresql-03024ca5a1437712bfa554470711f44577dcc3d2.tar.gz postgresql-03024ca5a1437712bfa554470711f44577dcc3d2.zip |
Add PG_VERSION_NUM for use by 3rd party applications wanting to test the
backend version in C using > and < comparisons.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/pg_config.h.in | 5 |
1 files changed, 4 insertions, 1 deletions
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 |