Skip to content
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

Export connection_is_transacting #349

Closed
jakob-r opened this issue Sep 27, 2021 · 2 comments · Fixed by #351
Closed

Export connection_is_transacting #349

jakob-r opened this issue Sep 27, 2021 · 2 comments · Fixed by #351

Comments

@jakob-r
Copy link
Contributor

jakob-r commented Sep 27, 2021

It would be very practical if connection_is_transacting was exported in some way. Unfortunately it is not part of any functionality defined in DBI but it could maybe included in dbGetInfo?

If you agree I can open a PR

I want to avoid using unexported functions like that:

RPostgres:::connection_is_transacting(db@ptr)
@krlmlr
Copy link
Member

krlmlr commented Oct 17, 2021

Thanks. Let's implement a postgresIsTransacting() function (doesn't have to be a method), we can think about including it in the DBI spec later.

@github-actions
Copy link
Contributor

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants