You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to get the field information when no matching rows are returned. For example, selecting an empty table and providing the decode fun? decode_fun/2 provides a nice opportunity to describe a query but unfortunately it does not get called because of the receive_loop0/6 that matches on #no_data{} . When using psql (as well as other drivers like Go and Java) it returns the column names at minimum.
I am poking around the pgo_protocol.erl code, but am having a hard time tracking the DecodeOpts.
The text was updated successfully, but these errors were encountered:
Is it possible to get the field information when no matching rows are returned. For example, selecting an empty table and providing the decode fun?
decode_fun/2
provides a nice opportunity to describe a query but unfortunately it does not get called because of thereceive_loop0/6
that matches on#no_data{}
. When using psql (as well as other drivers like Go and Java) it returns the column names at minimum.I am poking around the
pgo_protocol.erl
code, but am having a hard time tracking the DecodeOpts.The text was updated successfully, but these errors were encountered: