Can I reset the Postgres settings file to default in Docker? How?

83 Views Asked by At

Forgive me if this is a lame question but I'm pretty new in this and a bit lost. Started a PostgreSQL 16 server on Docker yesterday (fresh and clean install, never used these before). Today I wanted to debug a procedure and messed with the postgresql.conf file (added a line). After restarting the server it never came up again, the log says that the .conf file contains syntax errors. However I'm not able to reach the file any more as it was only at its location when the server was running. How can I get back to the default state (or edit the file) and get the server running? Thanks. If it can be fixed the bonus question will be the working solution on debugging... I've used DBeaver to make the procedure and saved it but learned that it lacks this option. Then downloaded pgAdmin 4 (via Docker and also the windows-version) but so far I couldn't reach the user interface of any of them.

0

There are 0 best solutions below