soju/database
delthas e510f7a461 Add support for explicit PostgreSQL schema prefixes for tests
PostgreSQL tests use pg_temp only. pg_temp is never searched for FTS
objects, so creating then altering an FTS configuration will not work
because PostgreSQL will not be able to find the FTS configuration it
just created.

Instead, we explicitly refer to the FTS objects with their full name
including their prefix, which makes PostgreSQL able to find the object.

This is only needed for tests.

See: https://stackoverflow.com/a/31095452/2347617
See: https://www.postgresql.org/message-id/15191.1208975632@sss.pgh.pa.us
2023-02-17 14:13:43 +01:00
..
database.go Add a database store for messages 2023-02-17 14:13:43 +01:00
postgres.go Add support for explicit PostgreSQL schema prefixes for tests 2023-02-17 14:13:43 +01:00
postgres_test.go Add support for explicit PostgreSQL schema prefixes for tests 2023-02-17 14:13:43 +01:00
sqlite.go Add a database store for messages 2023-02-17 14:13:43 +01:00
sqlite_mattn.go Add a database store for messages 2023-02-17 14:13:43 +01:00
sqlite_modernc.go Add build tag for modernc/sqlite driver 2022-09-26 19:31:43 +02:00
sqlite_stub.go database/sqlite: make optional 2022-09-11 13:57:00 +02:00
sqlite_test.go Add build tag for modernc/sqlite driver 2022-09-26 19:31:43 +02:00