Is it possible for sqldf re-use same connection for all the queries? I've an application where I need to set session time zone. I tried sqldf("SET SESSION TIME ZONE 'US/Hawaii'")
. Looks like each query is closing and opening new connection to PostgreSQL. Thus after SET SESSION
if I use sqldf('show time zone')
it still prints localtime
.
Is there any way to force sqldf to re-use single connection all the time during the code?