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
Thanks for checking out this project and for the issue.
It looks like it is setting the status, but there isn't any way to access it. If you reopen the error class and add a getter it works. Is that what you were talking about?
require"pg"classPG::ResultErrorgetter status
endDB=PG.connect("postgres:///")
beginDB.exec("select * from whatever")
rescue e : PG::ResultErrorp e.status # => PGRES_FATAL_ERRORend
Hi,
When I try to execute an sql query on the wrong table, I have a raw error from
PQ
driver, but noIs it a wanted behavior ?
Regards,
PS : Rather ask before PR
The text was updated successfully, but these errors were encountered: