--- src/db/pgSet.cpp.orig Wed Sep 24 10:30:46 2003 +++ src/db/pgSet.cpp Wed Sep 24 10:31:43 2003 @@ -119,7 +119,7 @@ int pgSet::ColNumber(const wxString &colname) const { - int col = PQfnumber(res, colname.ToAscii()); + int col = PQfnumber(res, qtIdent(colname).ToAscii()); if (col < 0) wxLogError(__("Column not found in pgSet: ") + colname); return col;