lnd/kvdb/sqlbase
Olaoluwa Osuntokun bb67131ce5
kvdb/sqlbase: use positive+negative build tags for new sql error parsing
In this commit, we use exhaustive build tags to ensure that we can
always build the `sqlbase` package, independent of the set build tags.
To do this, we move the type declarations _into_ the parsing functions.
This then allows us to create two versions for each db: with the db, and
without it.

To avoid a module tag round trip to get this working, we use a local
replace for now. Once this is merged in, we can do the tag (along side
rc3), then remove the replace.
2023-09-11 20:35:01 -07:00
..
db_conn_set.go kvdb+refactor: move all general sqlite code to seprate dir 2023-01-23 09:05:11 +02:00
db.go kvdb/sqlbase: fix build errors 2023-09-06 02:48:12 +08:00
log.go kvdb+refactor: move all general sqlite code to seprate dir 2023-01-23 09:05:11 +02:00
no_sql.go kvdb: add sqlite 2023-01-23 09:14:08 +02:00
readwrite_bucket.go kvdb: add sqlite 2023-01-23 09:14:08 +02:00
readwrite_cursor.go kvdb: add sqlite 2023-01-23 09:14:08 +02:00
readwrite_tx.go multi: ensure link is always torn down due to db failures, add exponential back off for sql-kvdb failures (#7927) 2023-08-30 16:48:00 -07:00
schema.go kvdb: add sqlite 2023-01-23 09:14:08 +02:00
sqlerrors_no_postgres.go kvdb/sqlbase: use positive+negative build tags for new sql error parsing 2023-09-11 20:35:01 -07:00
sqlerrors_no_sqlite.go kvdb/sqlbase: use positive+negative build tags for new sql error parsing 2023-09-11 20:35:01 -07:00
sqlerrors_postgres.go kvdb/sqlbase: use positive+negative build tags for new sql error parsing 2023-09-11 20:35:01 -07:00
sqlerrors_sqlite.go kvdb/sqlbase: use positive+negative build tags for new sql error parsing 2023-09-11 20:35:01 -07:00
sqlerrors.go kvdb/sqlbase: use positive+negative build tags for new sql error parsing 2023-09-11 20:35:01 -07:00