]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[github21] Postgres compilation fix.
authorTomek Mrugalski <tomasz@isc.org>
Thu, 23 Jun 2016 09:54:53 +0000 (11:54 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Thu, 23 Jun 2016 12:37:59 +0000 (14:37 +0200)
src/lib/dhcpsrv/pgsql_lease_mgr.cc

index 4714378db60181a510805e09a227b2827be7e019..849aee542043c8282b1c28e602d9b1d66ddb0a8d 100644 (file)
@@ -729,8 +729,8 @@ PgSqlLeaseMgr::~PgSqlLeaseMgr() {
 std::string
 PgSqlLeaseMgr::getDBVersion() {
     std::stringstream tmp;
-    tmp << "PostgreSQL backend " << PG_SCHEMA_VERSION_MAJOR;
-    tmp << "." << PG_SCHEMA_VERSION_MINOR;
+    tmp << "PostgreSQL backend " << PG_CURRENT_VERSION;
+    tmp << "." << PG_CURRENT_MINOR;
     tmp << ", library " << PQlibVersion();
     return (tmp.str());
 }