meta data for this page
Differences
This shows you the differences between two versions of the page.
| linux:databases:psql:issues [2023/07/28 11:51] – created niziak | linux:databases:psql:issues [2023/07/28 12:07] (current) – niziak | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| After unclean shutdown: | After unclean shutdown: | ||
| - | < | + | < |
| + | user=, | ||
| + | user=, | ||
| + | </ | ||
| Postgresql running from official docker container. | Postgresql running from official docker container. | ||
| - | Solution: | + | **Solution:** |
| + | |||
| + | Prevent container from restarting: | ||
| + | <code bash> | ||
| + | <file yaml docker-compose.yml> | ||
| + | services: | ||
| + | db: | ||
| + | image: postgres: | ||
| + | command: bash | ||
| + | </ | ||
| + | |||
| + | run it interactively: | ||
| + | <code bash> | ||
| + | |||
| + | and reset WAL: | ||
| <code bash> | <code bash> | ||
| su postgres -c '/ | su postgres -c '/ | ||
| </ | </ | ||