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

Pg scheme support #378

Merged
merged 3 commits into from
Feb 18, 2020

Conversation

ianco
Copy link
Contributor

@ianco ianco commented Feb 18, 2020

Add support for additional postgres wallet schemes, such as "MultiWalletDatabase"

if raise_exc:
raise OSError(f"Error unable to configure postgres stg: {result}")
else:
raise SystemExit(1)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code is only run once, the first time a PG wallet is opened. Does it need to run more than once if there's different storage types?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should only be one storage type per postgres instance, so the code should only be run once.

@andrewwhitehead andrewwhitehead merged commit 04ed207 into openwallet-foundation:master Feb 18, 2020
@ianco ianco deleted the pg_scheme_support branch December 2, 2020 18:52
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