Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lRblE-0002Xl-F5 for pgadmin-hackers@arkaria.postgresql.org; Wed, 31 Mar 2021 14:23:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lRblC-0005ly-Hc for pgadmin-hackers@arkaria.postgresql.org; Wed, 31 Mar 2021 14:23:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lRblB-0005lq-Ez for pgadmin-hackers@lists.postgresql.org; Wed, 31 Mar 2021 14:23:54 +0000 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lRbl7-0002o8-6Q for pgadmin-hackers@postgresql.org; Wed, 31 Mar 2021 14:23:52 +0000 Received: by mail-ed1-x52a.google.com with SMTP id l18so22564889edc.9 for ; Wed, 31 Mar 2021 07:23:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=T+v4xypPihi6jYXCZq9RhVhC07k4ipJ0rblGErLBsy4=; b=qgTXm4VT9B1+kWhRItzrCjqyF3vo0aW/bqJPDdfqgql4RCwlhUqxx3CNVK7lvFLh9V f44WQSMHeD4XmoUIdstnnc+qtplFneDR+iyuaim6KRsDj5B5vlEeKGOb1nsfz/GOHzeg G6B3YqiyCn+Sd/+jp8OuHtB0246UfipHenZHG5REz/0wUzyeBV/O3yeICK/CCCFODL1T pxH0N3IQJ/PeVk4u7nqCy1pisw4eP5c4xvzRZtoQ91CDAfTk5y7TOfvTsndwAQQSbK+u uUSjBBpUZjBzmn1En9uvK+1GeYax1Rh6iH8iKbosZp5AWPEtJjvs9CptLKymRrDEpaHf 2zAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=T+v4xypPihi6jYXCZq9RhVhC07k4ipJ0rblGErLBsy4=; b=cHcStL3/IGwj6+uaSRSceQg3YkHhV+oPENLQF/yLipzF3ULQMpUuugv6udL1CfmA/C 3V0bbKEXxcZFD8IrWH0iO+M8Og2s2Pe7j6hFUBdutzjorPMWgsHYyKrBzinF9aAua8/4 AEvllRzb1QOyIXPRchRBMUV0kPf+jxjh2MdxZOW2O2o7W5pKjeFFTeQvxuC/aZker3dB nV5E0ZrgT4y5GiDpheQRHiUfl+WYig0qVrJU+UPce1rWejzaEyjAwe5k9Z/LLRxrMVdM tp/+IuDjcU60ZyOU0lkmh6HkokTrco36vY+uZY4Di+slPHGphkaEWfstgvALIyFMb4f4 kDWQ== X-Gm-Message-State: AOAM531Q/Ox+PsIAZuDZ3aA+YT7buOCqtWzrNVaB0eAehWq11f/t2vIq 08mVOsdiZ4e8lBHwYMEWgULEfwyX5O3TCr34gmR+dw== X-Google-Smtp-Source: ABdhPJwMCkGPyzftKXNunWcnL3eCFbnTDtJO6loRvuT8gdimq9i39GUih/WkOLMzvX9/Is6DkCzDRJCxkMDHrWxPX00= X-Received: by 2002:a05:6402:10c6:: with SMTP id p6mr3990607edu.241.1617200627127; Wed, 31 Mar 2021 07:23:47 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Dave Page Date: Wed, 31 Mar 2021 15:23:36 +0100 Message-ID: Subject: Re: [pgAdmin][RM5519]: Unable to close tab after disconnecting server. To: Pradip Parkale Cc: pgadmin-hackers Content-Type: multipart/alternative; boundary="000000000000e92b2c05bed5dcef" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000e92b2c05bed5dcef Content-Type: text/plain; charset="UTF-8" Thanks Pradip. Before this is committed, let's change this: gettext('Current trasaction is not commited because server is disconnected.'), to: gettext('The current transaction has been rolled back because the server was disconnected.'), On Wed, Mar 31, 2021 at 3:09 PM Pradip Parkale < pradip.parkale@enterprisedb.com> wrote: > Hi Hackers, > Please find the attached patch for #5519. Updated the existing > confirmation message and also added a new confirmation dialog before > closing the query tool if the server is disconnected. > > -- > Thanks & Regards, > Pradip Parkale > Software Engineer | EnterpriseDB Corporation > -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EDB: http://www.enterprisedb.com --000000000000e92b2c05bed5dcef Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks Pradip.

<= /div>
Before this is committed, let's change this:

gettext('Current trasaction is not commited because server is = disconnected.'),

to:

<= div>gettext('The current transaction has been rolled back because the s= erver was disconnected.'),

On Wed, Mar 31, 2021 at= 3:09 PM Pradip Parkale <pradip.parkale@enterprisedb.com> wrote:
Hi Hackers,
Please find the attached patch for #5519= . Updated the existing confirmation message and also added a new confirmati= on dialog before closing the query tool if the server is disconnected.

--
Thanks & Regards,
Pradip Parkale
Software Engineer | EnterpriseDB Corporatio= n


--
--000000000000e92b2c05bed5dcef--