lnd/sqldb
Olaoluwa Osuntokun 329fcc6498
kvdb+sqldb: update SQL error parsing to account for non wrapped errs
Some sub-systems like btcwallet will return an error from the database,
but they won't properly wrap it. As a result, we were unable to actually
catch the serialization errors in the first place. To work around this,
we'll now attempt to parse the error string directly.
2024-04-11 15:04:03 +02:00
..
sqlc sqldb: simplify and fixup the existing invoice store schema and queries 2024-03-01 10:08:07 +01:00
config.go sqldb: exclude sqlite from the JS and unsupported platform builds 2024-03-01 10:08:09 +01:00
go.mod sqldb: turn sqldb into a go package 2024-04-09 20:46:11 +02:00
go.sum sqldb: turn sqldb into a go package 2024-04-09 20:46:11 +02:00
interfaces.go kvdb+sqldb: use the same tx retry helper 2024-04-11 15:04:02 +02:00
log.go sqldb: add the sqldb package 2023-07-27 03:31:12 -07:00
migrations.go sqldb: add the sqldb package 2023-07-27 03:31:12 -07:00
no_sqlite.go sqldb: exclude sqlite from the JS and unsupported platform builds 2024-03-01 10:08:09 +01:00
postgres.go sqldb: exclude sqlite from the JS and unsupported platform builds 2024-03-01 10:08:09 +01:00
postgres_fixture.go sqldb: exclude sqlite from the JS and unsupported platform builds 2024-03-01 10:08:09 +01:00
postgres_test.go sqldb: add the sqldb package 2023-07-27 03:31:12 -07:00
schemas.go sqldb: add the sqldb package 2023-07-27 03:31:12 -07:00
sqlerrors.go kvdb+sqldb: update SQL error parsing to account for non wrapped errs 2024-04-11 15:04:03 +02:00
sqlerrors_no_sqlite.go sqldb: exclude sqlite from the JS and unsupported platform builds 2024-03-01 10:08:09 +01:00
sqlite.go sqldb: exclude sqlite from the JS and unsupported platform builds 2024-03-01 10:08:09 +01:00
sqlite_test.go sqldb: add the sqldb package 2023-07-27 03:31:12 -07:00
sqlutils.go sqldb: export sql null type helpers 2024-04-09 20:46:11 +02:00