Thread: pgAdmin 4 commit: Update the user and datbaase information everytime, w

pgAdmin 4 commit: Update the user and datbaase information everytime, w

From
Ashesh Vashi
Date:
Update the user and datbaase information everytime, we connect the
server. And, delete them as soon as all connections are released.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=f8fd93c207ba2110302102870bbc45d4fed51b54

Modified Files
--------------
web/pgadmin/utils/driver/psycopg2/__init__.py | 29 ++++++++++++++++++---------
1 file changed, 19 insertions(+), 10 deletions(-)


Re: pgAdmin 4 commit: Update the user and datbaase information everytime, w

From
Dave Page
Date:
Is this multi-user safe (the deletion part)?

On Mon, Jan 11, 2016 at 7:37 PM, Ashesh Vashi
<ashesh.vashi@enterprisedb.com> wrote:
> Update the user and datbaase information everytime, we connect the
> server. And, delete them as soon as all connections are released.
>
> Branch
> ------
> master
>
> Details
> -------
> http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=f8fd93c207ba2110302102870bbc45d4fed51b54
>
> Modified Files
> --------------
> web/pgadmin/utils/driver/psycopg2/__init__.py | 29 ++++++++++++++++++---------
> 1 file changed, 19 insertions(+), 10 deletions(-)
>
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers



--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


Re: pgAdmin 4 commit: Update the user and datbaase information everytime, w

From
Ashesh Vashi
Date:
On Tue, Jan 12, 2016 at 3:12 PM, Dave Page <dpage@pgadmin.org> wrote:
Is this multi-user safe (the deletion part)?
Yes - We're deleting the server information only from the client side only..
And, from that session only.

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company


http://www.linkedin.com/in/asheshvashi



On Mon, Jan 11, 2016 at 7:37 PM, Ashesh Vashi
<ashesh.vashi@enterprisedb.com> wrote:
> Update the user and datbaase information everytime, we connect the
> server. And, delete them as soon as all connections are released.
>
> Branch
> ------
> master
>
> Details
> -------
> http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=f8fd93c207ba2110302102870bbc45d4fed51b54
>
> Modified Files
> --------------
> web/pgadmin/utils/driver/psycopg2/__init__.py | 29 ++++++++++++++++++---------
> 1 file changed, 19 insertions(+), 10 deletions(-)
>
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers



--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company