Thread: How to stop Pgadmin4 Server gracefully?

How to stop Pgadmin4 Server gracefully?

From
Henrik Uggla
Date:
I've created a Pgadmin4 (3.2) container and I wonder how to best shut down Pgadmin4 Server to avoid that the sqlite
databasegets corrupt? Is just sending SIGTERM to the python process ok? 

Regards
HU

Re: How to stop Pgadmin4 Server gracefully?

From
Darren Duncan
Date:
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
databasegets 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