Closed sanderhahn closed 5 years ago
Actually the column_type
is no longer used by crystal-db
so for now it can even be removed.
But if preserved at least in this adaptar it is weird that for the return type to be a tuple.
Changed the column_type
to return an oid
value and introduced constants for the pg_type
for easy reference.
Was looking for a way to reflect on the type of the column returned by a
ResultSet
and found thecolumn_type
method. However using it resulted in a compile error, maybe because of changes in how decoders are registered. This PR will make it returnoid
information from thepg_type
table.