pgAdmin 4 - auto disconnect

From: Paolo Saudin <paolosaudin(at)gmail(dot)com>
To: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: pgAdmin 4 - auto disconnect
Date: 2016-12-19 12:28:09
Message-ID: CADtZQg=DA1MRCAuCkSmKE7K+j1CrByioPE24ap41WZdmXJ0VLA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I deployed pgAdmin4 on a server and I have a script that every day restore
a database from a dump file. The problem I am facing at, is that if
somebody forget to diconnect from the database, the restore command fails
with an error "database Test is being accessed by other users".

Is there a way to tell pgAdmin to auto disconnect from all databases?

Thanks
Paolo Saudin

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mickaël Le Baillif 2016-12-19 13:36:49 JSON objects merge using || operator
Previous Message Gavin Flower 2016-12-19 02:30:23 Re: About the MONEY type