Followed instructions in: postgresql install which ends with the statement:
The database service is automatically configured with viable defaults, but can be customised based on your specific needs.
However it was not at all functional.
tried following several tutorials for example 1 example 2all offering the same thing:
- configuring repo settings
- Installing postgresql
- starting the service
- enabling the service
All ending with the assumptions that:
- /etc/postgresql/*/main/postgresql.conf exists
- postgresql service is up and running
This is not the case /etc/postgresql/ is empty service is doing nothing
In wsl2 Ubuntu: 24.04 Postgresql: 17
Edit: Uninstalled, and re-installed postgresql 16 worked