Re: [go-nuts] Short Term DSN for database/sql

2017-11-07 Thread agruetz45
This does not help because if there is no connection in the connection pool the interface will open a new connection with previously supplied DSN from the sql.Open call. Anthony On Tuesday, November 7, 2017 at 7:22:00 AM UTC-8, Konstantin Khomoutov wrote: > > On Tue, Nov 07, 2017 at 12:06:27AM

Re: [go-nuts] Short Term DSN for database/sql

2017-11-07 Thread Konstantin Khomoutov
On Tue, Nov 07, 2017 at 12:06:27AM -0800, agruet...@gmail.com wrote: > It appears the Generic Interface for SQL (database/sql) does not support > the ability to use short lived DSN's for cases like AWS's IAM > Authentication to RDS instances. It appears that when doing its connection > pooling

[go-nuts] Short Term DSN for database/sql

2017-11-07 Thread agruetz45
It appears the Generic Interface for SQL (database/sql) does not support the ability to use short lived DSN's for cases like AWS's IAM Authentication to RDS instances. It appears that when doing its connection pooling activities it always uses whatever DSN was passed initially on Open. 1) Is th