It allows drivers a way to provide a connection to the pool on demand,
without needing to go through a static connection string.

On Thu, Nov 9, 2017 at 9:09 AM <agruet...@gmail.com> wrote:

> So this would allow for the driver to support a different method of
> opening the connection that the sql interface would use when it needed to
> open a new connection correct?
>
> Anthony
>
>
> On Tuesday, November 7, 2017 at 9:44:05 AM UTC-8, Daniel Theophanes wrote:
>>
>> Go1.10 will ship with a driver connector
>> https://tip.golang.org/pkg/database/sql/driver/#Connector . It would be
>> possible for a driver to provide a callback function that returned the most
>> recent authentication parameters by using that.
>>
>> Thanks, -Daniel
>>
>>
>> On Tuesday, November 7, 2017 at 5:34:20 AM UTC-8, Anthony Gruetzmacher
>> 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 activities it always uses whatever DSN was passed initially on Open.
>>>
>>> 1) Is this correct.
>>> 2) Assuming one is correct would the Golang project every consider
>>> adding this feature?
>>> 3) If the answer is yes. How would one go about either helping to get it
>>> on the road map or better yet contributing this feature back to the
>>> community? What is this process?
>>>
>>> Thanks,
>>> Anthony Gruetzmacher
>>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "golang-nuts" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/golang-nuts/fl0GiIEmbLM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to