Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aIvT5-0000gE-Q2 for pgadmin-hackers@arkaria.postgresql.org; Tue, 12 Jan 2016 09:42:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aIvT5-00085P-CH for pgadmin-hackers@arkaria.postgresql.org; Tue, 12 Jan 2016 09:42:23 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aIvT5-000855-12 for pgadmin-hackers@postgresql.org; Tue, 12 Jan 2016 09:42:23 +0000 Received: from mail-ig0-x233.google.com ([2607:f8b0:4001:c05::233]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1aIvT2-0003OG-5P for pgadmin-hackers@postgresql.org; Tue, 12 Jan 2016 09:42:21 +0000 Received: by mail-ig0-x233.google.com with SMTP id ik10so143036293igb.1 for ; Tue, 12 Jan 2016 01:42:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=SzLAy+/AMDkmHrkZRe1PWFBcYRlsB2kjQlhMC3GvOjk=; b=t8CKbWmT4V+heWWP1XGlsII98pHm5pcCIeGev1N+C4Zc1HF+wHFGyLoHmIT7YcDVa8 EEY9Xj/tx+Q3eSyzg8e8oz6AyRAiGqR3fhTE67RBxQPHp2Liw0Uy2iQnVUAZlFnT7vJ0 alGAO/Drmzl1rsTHwGf4ih5a3E/VmnprOnOs6+G2fhkaEVggb0lUzcwXy2Syfm375rZC QSdd2FvNPUe/wSbXFHkxBSYdmny5JwIKCOHIxkfHB4IlUZy13nQQiI5W7WWLiQEvMtzL U2BQi97gNknEIkwgHzuXQXQEGLtdtaB8t+Suei4UNOM2aBwhOqkBPDTRs8EQkh+jGJjs 3EVA== 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:date :message-id:subject:from:to:cc:content-type; bh=SzLAy+/AMDkmHrkZRe1PWFBcYRlsB2kjQlhMC3GvOjk=; b=H7wLKMwyHtMs3U0GxRX9aEdNVuQLOhmfYamSb3pADxc0YOk3Y2yuifYZdf4Zro6Ta5 D2Y9HvQ6qEU5sHYE7/cxAnz5NleBpIZ0BVVP0rbd4pyZWK4eYrSunZ6fSOpWgPjAJ/Vz TpGsWie09h5FCwYF1vBEMNsprTiKOqRH3uwx9b6HPQTFfHlgxqhyLoHalGoPsEXjTfzT eObyJP5vT3Aj5rJV/LLujuB6t9vheCiJ32LpMRBdo32aMhk+ZTwhZo6MIYVZms1P4kpY 8Slqa1rWyRLNO+pFehnW4VtK7/nRKjyovlWX163PbzafvxQtC3TL7KLxWsb9ryll0Q4z vFVA== X-Gm-Message-State: ALoCoQmjSvSOws/4+rNwFAopoq/2Vzuk8yFx7IJ58WHkuV1I6u5Fr7ufjhQ7rYQIh+RW49wOBY7MWBZKfAipjDDRWg1ZGPutZg== MIME-Version: 1.0 X-Received: by 10.50.108.105 with SMTP id hj9mr16579369igb.96.1452591739176; Tue, 12 Jan 2016 01:42:19 -0800 (PST) Received: by 10.64.0.195 with HTTP; Tue, 12 Jan 2016 01:42:19 -0800 (PST) In-Reply-To: References: Date: Tue, 12 Jan 2016 09:42:19 +0000 Message-ID: Subject: Re: pgAdmin 4 commit: Update the user and datbaase information everytime, w From: Dave Page To: Ashesh Vashi Cc: pgadmin-hackers Content-Type: text/plain; charset=UTF-8 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 Is this multi-user safe (the deletion part)? 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 -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers