Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1htDkF-0008CC-IJ for pgsql-general@arkaria.postgresql.org; Thu, 01 Aug 2019 16:15:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1htDjG-00085c-7S for pgsql-general@arkaria.postgresql.org; Thu, 01 Aug 2019 16:14:58 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1htDjF-000846-Ql for pgsql-general@lists.postgresql.org; Thu, 01 Aug 2019 16:14:57 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1htDjC-0008NB-Na for pgsql-general@lists.postgresql.org; Thu, 01 Aug 2019 16:14:56 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id D1002221DF; Thu, 1 Aug 2019 12:14:52 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 01 Aug 2019 12:14:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=Q WkrXsTE6VAp/wpdzfF6JqNsyxibP+E9zSaq1++6RkI=; b=tnqDqzevjP1WFI9Bv FCGH8WXABAfWSZYg5fXIlCsRmSMjYvXN90YnxV3VzsfXHV5xzZnsCKZ+IiPju5iS gwLB0l69+Kjy3T0kJqZY12UCcnsBkqenIneMamsity2o1rhcFligeI/l4I7IdYAh DmkHTecwifBKhIuxZMTx3H31k5URlP8JGlkk20LFk89RYlwmQm5sWV3na6S8qjRg 4V9W69A+gQxPMm+pA6r+YwX5pLDiUgE/KvizjcKvDbQfcM3fMXRGHLysLegz7bjB Vx7fauQpCsIBM/FnCyVTCwHlGAv+7R/DUSvJee84SwW5wfWMb75bBA+aakXSXWNn oPGDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=QWkrXsTE6VAp/wpdzfF6JqNsyxibP+E9zSaq1++6R kI=; b=CLuz7sybT7I/2b0bp0rJPX++LWPZXdMXqGs6LcK2qYoD0kD8uZ6fIkP0f Klf8u0717rgqiHkNlxKYJMliRF70ZyaH3OimEUHFZkd2mr1uVq2yhhkZtttprtzU zEGUV4zLyzZ6lgFlR5hx5gikajmse+gTpfRs7/pzxxli9APKP+LuyTmqRChTtG4y +KssLWQ6oO+76GbrjVVXzQEZGh8tYVMf+bi4OVrmyJNdcBRrMiSjq5J+ileTG3Ye wowajnDuHcMj0dBqKhazeia55Hhhw4bttEF7KLt+tGsDTT+aK4rxhFclysNNU+uG 8GBkuD/8wSPYPRQe8NESKGvUQSxQQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrleejgdeliecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecuffhomhgrihhnpehinhhithgurdhorhhgpdhpghgrughmihhnrdhorhhgpdhpohhs thhgrhgvshhqlhdrohhrghdpghhithhhuhgsrdgtohhmnecukfhppeejfedrvdefledrud dujedrvdefkeenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgv rhesrghklhgrvhgvrhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from ranger.suse (c-73-239-117-238.hsd1.wa.comcast.net [73.239.117.238]) by mail.messagingengine.com (Postfix) with ESMTPA id B3F6780059; Thu, 1 Aug 2019 12:14:51 -0400 (EDT) Subject: Re: PGAdmin4.11.1 on Ubuntu 18.04 To: Daniele Varrazzo Cc: Ron , pgsql-general@lists.postgresql.org References: <60b0d698-1157-5212-2fa6-da69dd1354b6@aklaver.com> <4017c72d-06d2-932e-138d-94088c58688f@gmail.com> <86139d4c-f173-3d9f-1256-cd2c7f08a2a9@aklaver.com> From: Adrian Klaver Message-ID: <90e6f6eb-bc66-ebb1-cd1f-a3d6eba9c5b5@aklaver.com> Date: Thu, 1 Aug 2019 09:14:50 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 8/1/19 9:05 AM, Daniele Varrazzo wrote: > On Thu, Aug 1, 2019 at 4:43 PM Adrian Klaver wrote: > >> Yeah the requirements file shows psycopg2-2.8: >> https://github.com/postgres/pgadmin4/blob/master/requirements.txt >> >> The issue(I'm assuming) is: >> >> http://initd.org/psycopg/articles/2019/04/04/psycopg-28-released/ >> "Added table_oid and table_column attributes on cursor.description items >> (ticket #661)." > > Couldn't be pgadmin forgiving if these attributes are not available? Looks like it is wrapped up in this: https://www.pgadmin.org/docs/pgadmin4/4.11/release_notes_4_11.html Issue #1760 - Add support for editing of resultsets in the Query Tool, if the data can be identified as updatable. https://redmine.postgresql.org/issues/1760 def check_updatable_results_pkeys(self): """ This function is used to check whether the last successful query produced updatable results and sets the necessary flags and attributes accordingly. Should be called after polling for the results is successful(results are ready) """ ... self.is_updatable_resultset, self.primary_keys, pk_names,table_oid = \ is_query_resultset_updatable(conn, sql_path) > > -- Daniele > -- Adrian Klaver adrian.klaver@aklaver.com