In earlier versions of RPostgreSQL (0.7 and before) I get this error message passed along from Postgres:
> dbFetch(dbSendQuery(con, "SELECT bad;"))
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'res' in selecting a method for function 'dbFetch': RS-DBI driver: (could not Retrieve the result : ERROR: column "bad" does not exist
LINE 1: SELECT bad;
^
)
I'm on Linux/Centos 7.8. The behavior is the same when linking against both Postgres 14.1 and Postgres 12.4 and on R versions 4.0.2 and 4.1.2. Thanks
In RPostgreSQL versions 0.7-2 and 0.7-3, but not in version 0.7, a SQL statement with a syntax error error causes a segfault. For example:
In earlier versions of RPostgreSQL (0.7 and before) I get this error message passed along from Postgres:
I'm on Linux/Centos 7.8. The behavior is the same when linking against both Postgres 14.1 and Postgres 12.4 and on R versions 4.0.2 and 4.1.2. Thanks