Add PostgreSQL support for mint and wallet#878
Merged
thesimplekid merged 12 commits intocashubtc:mainfrom Aug 18, 2025
Merged
Conversation
8651d5e to
d7afae5
Compare
d0f150d to
3b8c979
Compare
crodas
added a commit
to crodas/cdk
that referenced
this pull request
Jul 15, 2025
The primary purpose of this new crate is to have a common and shared codebase for all SQL storage systems. It would force us to write standard SQL using best practices for all databases. This crate has been extracted from cashubtc#878
crodas
added a commit
to crodas/cdk
that referenced
this pull request
Jul 15, 2025
The primary purpose of this new crate is to have a common and shared codebase for all SQL storage systems. It would force us to write standard SQL using best practices for all databases. This crate has been extracted from cashubtc#878
crodas
added a commit
to crodas/cdk
that referenced
this pull request
Jul 15, 2025
The primary purpose of this new crate is to have a common and shared codebase for all SQL storage systems. It would force us to write standard SQL using best practices for all databases. This crate has been extracted from cashubtc#878
crodas
added a commit
to crodas/cdk
that referenced
this pull request
Jul 15, 2025
The primary purpose of this new crate is to have a common and shared codebase for all SQL storage systems. It would force us to write standard SQL using best practices for all databases. This crate has been extracted from cashubtc#878
crodas
added a commit
to crodas/cdk
that referenced
this pull request
Jul 15, 2025
The primary purpose of this new crate is to have a common and shared codebase for all SQL storage systems. It would force us to write standard SQL using best practices for all databases. This crate has been extracted from cashubtc#878
crodas
added a commit
to crodas/cdk
that referenced
this pull request
Jul 15, 2025
The primary purpose of this new crate is to have a common and shared codebase for all SQL storage systems. It would force us to write standard SQL using best practices for all databases. This crate has been extracted from cashubtc#878
crodas
added a commit
to crodas/cdk
that referenced
this pull request
Jul 15, 2025
The primary purpose of this new crate is to have a common and shared codebase for all SQL storage systems. It would force us to write standard SQL using best practices for all databases. This crate has been extracted from cashubtc#878
crodas
added a commit
to crodas/cdk
that referenced
this pull request
Jul 16, 2025
The primary purpose of this new crate is to have a common and shared codebase for all SQL storage systems. It would force us to write standard SQL using best practices for all databases. This crate has been extracted from cashubtc#878
crodas
added a commit
to crodas/cdk
that referenced
this pull request
Jul 17, 2025
The primary purpose of this new crate is to have a common and shared codebase for all SQL storage systems. It would force us to write standard SQL using best practices for all databases. This crate has been extracted from cashubtc#878
crodas
added a commit
to crodas/cdk
that referenced
this pull request
Jul 19, 2025
The primary purpose of this new crate is to have a common and shared codebase for all SQL storage systems. It would force us to write standard SQL using best practices for all databases. This crate has been extracted from cashubtc#878
3b38719 to
881e297
Compare
crodas
added a commit
to crodas/cdk
that referenced
this pull request
Jul 22, 2025
The primary purpose of this new crate is to have a common and shared codebase for all SQL storage systems. It would force us to write standard SQL using best practices for all databases. This crate has been extracted from cashubtc#878
crodas
added a commit
to crodas/cdk
that referenced
this pull request
Jul 24, 2025
The primary purpose of this new crate is to have a common and shared codebase for all SQL storage systems. It would force us to write standard SQL using best practices for all databases. This crate has been extracted from cashubtc#878
crodas
added a commit
to crodas/cdk
that referenced
this pull request
Jul 25, 2025
The primary purpose of this new crate is to have a common and shared codebase for all SQL storage systems. It would force us to write standard SQL using best practices for all databases. This crate has been extracted from cashubtc#878
crodas
added a commit
to crodas/cdk
that referenced
this pull request
Jul 28, 2025
The primary purpose of this new crate is to have a common and shared codebase for all SQL storage systems. It would force us to write standard SQL using best practices for all databases. This crate has been extracted from cashubtc#878
crodas
added a commit
to crodas/cdk
that referenced
this pull request
Jul 29, 2025
The primary purpose of this new crate is to have a common and shared codebase for all SQL storage systems. It would force us to write standard SQL using best practices for all databases. This crate has been extracted from cashubtc#878
16bfd51 to
52b7902
Compare
Collaborator
|
If we add |
Collaborator
|
Can we split 5f9b0b5 into its own pr I want to review that more carefully. Other then that I think it looks pretty good. |
This function would log slow operations and log errors
thesimplekid
previously approved these changes
Aug 18, 2025
670c4b8 to
2b56063
Compare
Collaborator
|
ACK 2b56063 |
Collaborator
|
Successfully tested 2b56063 with LGTM. |
thesimplekid
approved these changes
Aug 18, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This is a WIP branch to add PostgreSQL support, fixing #877.
This PR depends on #890
Approach
cdk-sql-basea generic abstraction on top of any SQL database for the mint and the walletcdk-sqliteinto this crate.bindandbind_vec.cdk-sqliteusecdk-sql-basecdk-postgresNotes to the reviewers
Suggested CHANGELOG Updates
CHANGED
ADDED
REMOVED
FIXED
Checklist
just final-checkbefore committing