mirror of
1
Fork 0
gotosocial/test
embr ed9158fa05
[fix] Make postgres connections magically work in common setups (#352)
* Don't use the system 'postgres' database by default

* Use postgres adapter defaults

The pgx code actually goes to great lengths to make postgres connections
Just Work(tm) out of the box, including supporting `~/.pg_service.conf`,
SSL certificates, UNIX sockets if it can find a socket at a common path,
and falling back to TCP to localhost if not.

(On Windows, it won't try to use UNIX sockets, but will read credentials
from %appdata% as is standard over there.)

By applying our flags as overrides only when they're specified, database
connections should Just Work(tm) anywhere `psql gotosocial` does.
2021-12-21 12:08:27 +01:00
..
cliparsing.sh [fix] Make postgres connections magically work in common setups (#352) 2021-12-21 12:08:27 +01:00
test.json Remove unnecessary storage config variables (#344) 2021-12-20 15:19:53 +01:00
test.yaml Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
test2.yaml Implement Cobra CLI tooling, Viper config tooling (#336) 2021-12-07 13:31:39 +01:00