Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fa0WI-0008LO-4J for pgsql-general@arkaria.postgresql.org; Mon, 02 Jul 2018 15:13:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fa0WG-0003TC-Ks for pgsql-general@arkaria.postgresql.org; Mon, 02 Jul 2018 15:13:36 +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.89) (envelope-from ) id 1fa0WE-0003T1-Ry for pgsql-general@lists.postgresql.org; Mon, 02 Jul 2018 15:13:36 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fa0WB-0003ep-On for pgsql-general@postgresql.org; Mon, 02 Jul 2018 15:13:33 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 687B921D27; Mon, 2 Jul 2018 11:13:30 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Mon, 02 Jul 2018 11:13:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=xxtEbQ3DJOOPnniZW3MI23uzt7JJf Dv0hINeeUnAM3E=; b=ccOi8FxBmYN7rMP0FpEA0k/ym/OAhzJUGhhYFqs1JOxn2 g/Ra6Qn+6YbF9uBZ5duMruzXcF+DPO7nZC79Paq6iLzFcr5FS6zYOzhsBqvex1aW Xp6AvcCtgqYBEMrSuxQOcbYPQx0JGULERJvy2CtzWZy6iGTd3s7BRmOA/XPf++Uh VsbJr/QV3scoIutOwCawCwmGkYid3eGEzjyuqqdNq6Vt65eE8vGje+RJtygHJVf7 0giA3rtFQJubp8aGbVP5Icj3x2pBsxuKGv2IjjjBKLHIoh48T2iMleDWKEnwJr3p O6TZek98ftL/ghtfkVSM5Q52SFVxLp9V4RC7K5OrA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=xxtEbQ 3DJOOPnniZW3MI23uzt7JJfDv0hINeeUnAM3E=; b=mp9wxNJOsuB2aBvjrzT0BN bkeG+r0NxKRG5qSCaW/QDsrcqZZ/SJxU47D9pGj2hhMBbDT7XPGGATsPNywK6VTx JPTXSRvz6pQwhWtplfL46BJjtyYq+Y4g3YykHWOrIveLD5D59sVTUc0UGQQ+olA1 z0W3Bk3rkFjgicg3od5BsjmZ1GADlCyy8nXCarWXhiI0Gy2i11SXEuLD/9PUvfDO Nb4lY0su0qw7CjOwdKnpjaAX0fAYVBtiO9VLUKVkbCiW/c2KA4w7awmpkQwqnTss NklDyByVFYbPFSjgx+IsnQX1ionMwAdGllh3aWFY9vN6D9G1aqat5/h23QKnn7dQ == X-ME-Proxy: X-ME-Sender: Received: from ranger.suse (50-197-80-2-static.hfc.comcastbusiness.net [50.197.80.2]) by mail.messagingengine.com (Postfix) with ESMTPA id 84ACF102C1; Mon, 2 Jul 2018 11:13:29 -0400 (EDT) Subject: Re: Not able to update some rows in a table To: Marco Fochesato , pgsql-general References: From: Adrian Klaver Message-ID: <4bb08fbe-8ff2-df51-8bc2-4e5e2239d7ec@aklaver.com> Date: Mon, 2 Jul 2018 08:13:28 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.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 07/02/2018 07:51 AM, Marco Fochesato wrote: > Dear all, > I have a table with 21 columns. > Primary key is done with 20 of these colums. Do you mean the Primary Key is constructed from 20 columns? > > I have 3.313 records. > I don't know why, but I'm not able to update some of these records. What is the SQL you are using? Are there any error messages and if so what are they? > I don't understand, it seems that I'm not able to fetch. > It happens with Pgadmin, with Python Psycopg2 and also through > Libreoffice Base. > > Looking to the properties of the table in Pgadmin, I can see only the > estimated number > of rows. Counted rows are 'not counted'. > > -- > Marco Fochesato -- Adrian Klaver adrian.klaver@aklaver.com