-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publicly expose the driver so it can be wrapped #166
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here (e.g. What to do if you already signed the CLAIndividual signers
Corporate signers
|
I signed it! |
CLAs look good, thanks! |
IMO it would be better if (although since we've already released a version where we register a database driver called |
Any update on this ? |
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. |
CLAs look good, thanks! |
Hey Luna, I messaged you on the Gopher slack about this PR. Maybe we can chat there in realtime (probably tomorrow, since I think it's late where you are...)
It doesn't seem to have gotten much traction: Is there any reason not to expose this Driver except that it'd be better to do it a different way in lib/pq (if they'd even make that change)? |
That's my concern I suppose. I was trying to avoid the need to maintain it here. But if people want it and the other repo refuses to maintain it for us, I suppose we could exert the effort to make it better for our consumers. |
That, plus the database/SQL driver namespace is global, and I don't like adding to the global namespace of possible drivers if we don't have to. I'd rather piggyback off someone else's name to avoid collisions. |
@Carrotman42 any further objection? Let's get this merged, if not. I think it's fair to say that adding support custom dialer registration to lib/pq is a long shot. |
Yeah just go ahead - I don't need to be a stick in the mud here for no great reason. |
Thanks for your patience Luna! |
This lets tools such as https://github.com/luna-duclos/instrumentedsql wrap the driver and provide instrumentation.