Fixed missing comman in pg_class query.

Added checks on row and column indexes in Pgsql::Result to detect these kind of problems earlier in the future.
This commit is contained in:
eelke 2017-12-17 20:22:55 +01:00
parent 3424b62aa0
commit d1114793a1
3 changed files with 27 additions and 1 deletions

View file

@ -7,7 +7,7 @@ std::string PgClassContainer::getLoadQuery() const
return "SELECT oid, relname, relnamespace, reltype, reloftype, "
" relowner, relam, relfilenode, reltablespace, relpages, "
" reltuples, reltoastrelid, relisshared, relpersistence, "
" relkind, relhasoids, relispopulated, relfrozenxid, relminmxid "
" relkind, relhasoids, relispopulated, relfrozenxid, relminmxid, "
" relacl, reloptions \n"
"FROM pg_catalog.pg_class";
}