I know that PostgreSQL database allows to keep track of application name for each connection and it looks like application_name variable should work with RPostgreSQL, but how exactly should I do this? Adding variable application_name = "test" to dbConnect doesn't work.
I'm not sure you can pass An alternative would be to run the following SQL query immediately after opening the connection:
and it should work until you close the connection. |
|||
|
dbConnect()
in github.com/rstats-db/RPostgres – hadley Feb 26 '15 at 19:30