Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aIvbG-0001FY-Mn for pgadmin-hackers@arkaria.postgresql.org; Tue, 12 Jan 2016 09:50:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aIvbG-0004r9-1g for pgadmin-hackers@arkaria.postgresql.org; Tue, 12 Jan 2016 09:50:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aIvbF-0004pm-Av for pgadmin-hackers@postgresql.org; Tue, 12 Jan 2016 09:50:49 +0000 Received: from mail-lf0-x235.google.com ([2a00:1450:4010:c07::235]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1aIvbB-00040k-SI for pgadmin-hackers@postgresql.org; Tue, 12 Jan 2016 09:50:48 +0000 Received: by mail-lf0-x235.google.com with SMTP id 17so28513333lfz.1 for ; Tue, 12 Jan 2016 01:50:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=y84QL5aL6vdxwy/5YvL6XwvcX89lQQ0pqrHGLjReLk8=; b=cf8F3Hi+v1RyjuOTGyn1WODSaNQ7+Hb9RZrM0khyGLpdcL1EirDlxwyRt2efwxoiZ0 zbbns9ZI23cEbX8B8Fp8PV0tAMiotdIdxPBbOhTo4PUr5FGkw/vPj+SVwgPKoVV01CMn t3pnfZpvOOo0AChALHF3Lb/lGJf9hEdb8wSbSNWGMb/dXoh0ZcW0AewTjSm0t5F7wZrT cJmvtOjtUzlFpHzlQd+ItOJSj3iwH7X1PcRLGXttLlY3J6qEll5Q2VGYthiC1mgieIUm N3Pa4nhKCb/RVRnc7kPT+Q+KxtiIfkB4f/MX9msA/OXdL801uLnGQ6ZcFYfV+Q4pifD/ CCIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=y84QL5aL6vdxwy/5YvL6XwvcX89lQQ0pqrHGLjReLk8=; b=IQOH2pPEH/vKgBCKbmZRWR1jMaM3ILaKpcoVPHeND6QnVLzH1z7XDj+1MDzGMPahYt 7/tMiUopqbgntxs9Z+dXRitwzuzrhjxqdA/538eNf6Sn6uKQHmxMITFhA1icL6or3bGp 0xvZ0OoOJqUGViMgxtaoletzBZw3hQxRLY2YMkhoQDdfIEz+nHGT04G4T4FkQNzE+pZr Br21wj77kRspQc1pakE31VMseZvM72lLKd6gzDlosOpWBI1kRImkd0rd5xqrlzrMv+QS sAdlyLaZk9RqQUjx0x9Qps2fPtgZDbPCZ/QxYqSbcNWdbGDDQ5wwA/3vnafMIWPsAZu0 pqWw== X-Gm-Message-State: ALoCoQnOCAgaaCJwwDgOw+h7LoT4/jEbt3uxU6D7/fSzai+jW/PO6Zc/K0MclGup75SFfNCaHthB1dfCt+5jMNaAsW2joUD5USlcUiCrx8+JKyU8uYwHIPA= X-Received: by 10.25.166.65 with SMTP id p62mr5370165lfe.51.1452592245042; Tue, 12 Jan 2016 01:50:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.182.105 with HTTP; Tue, 12 Jan 2016 01:50:25 -0800 (PST) In-Reply-To: References: From: Ashesh Vashi Date: Tue, 12 Jan 2016 15:20:25 +0530 Message-ID: Subject: Re: pgAdmin 4 commit: Update the user and datbaase information everytime, w To: Dave Page Cc: pgadmin-hackers Content-Type: multipart/alternative; boundary=001a11410504c5053d05291ffc53 X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org --001a11410504c5053d05291ffc53 Content-Type: text/plain; charset=UTF-8 On Tue, Jan 12, 2016 at 3:12 PM, Dave Page 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 > 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 > --001a11410504c5053d05291ffc53 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Tue,= Jan 12, 2016 at 3:12 PM, Dave Page <dpage@pgadmin.org> wrot= e:
Is this multi-user safe (the= deletion part)?
Yes - We're deleting the server i= nformation only from the client side only..
And, from that se= ssion only.

--

Th= anks & Regards,

Ashesh Vashi
Enterpri= seDB INDIA: Enterprise PostgreSQL Company

<= br>

<= a href=3D"http://www.linkedin.com/in/asheshvashi" target=3D"_blank">http= ://www.linkedin.com/in/asheshvashi

<= br>

On Mon, Jan 11, 2016 at 7:37 PM, Ashesh Vashi
<ashesh.vashi@enterpris= edb.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=3Dpgadmin4.git;a=3Dcommitd= iff;h=3Df8fd93c207ba2110302102870bbc45d4fed51b54
>
> 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-ha= ckers



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

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

--001a11410504c5053d05291ffc53--