Hi,
I can't connect to the server with following command:
con <- DBI::dbConnect(
drv = RPostgres::Postgres(),
host = "10.10.0.1",
port = 5432,
dbname = "postgres",
user = "user",
password = "1368798451"
)
#> Error in result_create(conn@ptr, statement) :
#> Failed to retrieve query result metadata: ERROR: unnamed prepared statement does not exist
With odbc package the connection works only with UseServerSidePrepare = No option in .odbc.ini. RPostgreSQL works without additional manipulations.
Server info:
PostgreSQL 9.3.20 on x86_64-unknown-linux-gnu, compiled by gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4, 64-bit
packageVersion("RPostgres")
#> [1] '1.1.0'
Hi,
I can't connect to the server with following command:
With
odbcpackage the connection works only withUseServerSidePrepare = Nooption in.odbc.ini.RPostgreSQLworks without additional manipulations.Server info: