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

@ -127,6 +127,9 @@ namespace Pgsql {
// iterator begin();
private:
PGresult *result = nullptr;
void colRangeCheck(int col) const;
void rowRangeCheck(int row) const;
};