gotosocial/internal
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
..
ap Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
api Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
cache Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
config [fix] Make postgres connections magically work in common setups (#352) 2021-12-21 12:08:27 +01:00
db [fix] Make postgres connections magically work in common setups (#352) 2021-12-21 12:08:27 +01:00
email Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
federation Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
gotosocial Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
gtserror Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
gtsmodel Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
id change muchos things 2021-09-01 11:11:26 +02:00
log Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
media Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
messages Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
oauth Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
oidc Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
processing Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
regexes Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
router Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
stream Fix streamed messages ending up in wrong timeline(s) (#325) 2021-11-22 19:03:21 +01:00
text Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
timeline Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
trans Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
transport Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
typeutils Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
uris Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
util Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
validate Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
visibility Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
web Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00