Reading the documentation on PostgreSQL documentation here I read the following:
As well, connections requested for users other than the default configured user are not pooled.
I couldn't find any more information on this. Who is the default configured user? Is it the user I logged in to the db with?
So in the following example:
Jdbc3PoolingDataSource source = new Jdbc3PoolingDataSource();
source.setDataSourceName("A Data Source");
source.setServerName("localhost");
source.setDatabaseName("test");
source.setUser("testuser");
the default configured user is testuser?