summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpqpp/column.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/libpqpp/column.cpp b/libpqpp/column.cpp
index b931d08..90858c8 100644
--- a/libpqpp/column.cpp
+++ b/libpqpp/column.cpp
@@ -61,8 +61,7 @@ PQ::Column::apply(DB::HandleField & h) const
h.timestamp(tm);
break;
default:
- fprintf(stderr, "Unknown Oid %d\n", oid);
- throw Error("Unknown Oid");
+ h.string(PQgetvalue(sc->execRes, sc->tuple, colNo), PQgetlength(sc->execRes, sc->tuple, colNo));
}
}