How to stop Pgadmin4 Server gracefully?
How to stop Pgadmin4 Server gracefully?
От:
Henrik Uggla <Henrik.Uggla@kristianstad.se>
Дата:
I've created a Pgadmin4 (3.2) container and I wonder how to best shut down Pgadmin4 Server to avoid that the sqlite database gets corrupt? Is just sending SIGTERM to the python process ok? Regards HU
Re: How to stop Pgadmin4 Server gracefully?
От:
Darren Duncan <darren@darrenduncan.net>
Дата:
On 2018-08-29 3:15 AM, Henrik Uggla wrote: > I've created a Pgadmin4 (3.2) container and I wonder how to best shut down Pgadmin4 Server to avoid that the sqlite database gets corrupt? Is just sending SIGTERM to the python process ok? SQLite is ACID. Assuming you don't delete its WAL or journal file, it should never get corrupt. -- Darren Duncan