Closed c0de9en closed 10 years ago
It could be easily done inside your database: create another role, assign a membership of role "test" to it and set any necessary configuration parameters on it.
But I can't execute queries there. Such as SELECT true FROM usr WHERE username = $arg_username AND password = $arg_password
To do so you have to use an application server or a connection pooler (e.g. pgbouncer). ngx_postgres doesn't support web-session management in any way.
Thank you, I'll try to find other ways...
I need different time zones for sites. So I need to set the TimeZone session variable for all queries. It would be great to add optional parameter for postgres_server. For example:
It may be a postgres_pass optional parameter. For example: