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

WIP: massive refactors re: Connection/Connect/Transaction #492

Closed
wants to merge 2 commits into from

Conversation

abonander
Copy link
Collaborator

@abonander abonander commented Jul 7, 2020

started as a small tangent on #491 to use MaybeOwned in PgCopyIn

became a refactor MaybeOwned -> MaybePooled

due to leaked Send bounds regarding Arc<SharedPool> containing Connect::Options in Connection::transaction() it exploded into removing the Connection impl from Transaction

decided we could merge Connection + Connect

found a bug that Connection::transaction_depth() is no longer calculated correctly since transactions don't nest ownership

decided that this didn't belong in #491 as it touched too much code

@mehcode
Copy link
Member

mehcode commented Jul 12, 2020

Thanks for getting this started. Merged and finished locally. Will push soon.

@mehcode mehcode closed this Jul 12, 2020
@mehcode mehcode deleted the ab/refactors branch July 27, 2020 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants