Обсуждение: How to stop Pgadmin4 Server gracefully?

Поиск
Список
Период
Сортировка

How to stop Pgadmin4 Server gracefully?

От
Henrik Uggla
Дата:
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?

От
Darren Duncan
Дата:
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