Support PostgreSQL 9.0 (EJAB-1359)(thanks to Stephen Gibberd and Konstantin Nikiforov)
This commit is contained in:
parent
c6e0cff144
commit
27872c6022
|
@ -509,7 +509,7 @@ pgsql_to_odbc({ok, PGSQLResult}) ->
|
|||
[pgsql_item_to_odbc(Item) || Item <- Items]
|
||||
end.
|
||||
|
||||
pgsql_item_to_odbc({"SELECT", Rows, Recs}) ->
|
||||
pgsql_item_to_odbc({"SELECT" ++ _, Rows, Recs}) ->
|
||||
{selected,
|
||||
[case Row of
|
||||
{desc, _, Col, _, _, _, _, _} -> Col; % Recent pgsql driver API change.
|
||||
|
|
Loading…
Reference in New Issue