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 1lOLdL-0006xC-Pc for pgsql-jdbc@arkaria.postgresql.org; Mon, 22 Mar 2021 14:34:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lOLdK-0004Bp-MP for pgsql-jdbc@arkaria.postgresql.org; Mon, 22 Mar 2021 14:34:18 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lOLdK-0004Bi-EZ for pgsql-jdbc@lists.postgresql.org; Mon, 22 Mar 2021 14:34:18 +0000 Received: from out-28.smtp.github.com ([192.30.252.211]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lOLdI-0000VV-2g for pgsql-jdbc@lists.postgresql.org; Mon, 22 Mar 2021 14:34:17 +0000 Received: from github.com (hubbernetes-node-5d02c07.ash1-iad.github.net [10.56.115.60]) by smtp.github.com (Postfix) with ESMTPA id EFBBC90015C for ; Mon, 22 Mar 2021 07:34:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1616423655; bh=IEmWe0HM0iQ4s39rF0FnMGZxDlIUrM911KG9XYspw34=; h=Date:From:To:Subject:From; b=BqZojH8bf5tKpR+eUpYJywxVt0WJc365LR5R1OESThoVYBehJTcuJ1V1YlKN8kPdq HUfPfJtiTTi9GQGEHsqwqEjRi0eJJzT8XASLbBxsIyYoEpm8SbCZqw2/dNhaFgRaig mAchA+JSBzpG17mfWBLfW1Q+lnWmJJCr15E9+lbA= Date: Mon, 22 Mar 2021 07:34:14 -0700 From: Feng zhihao To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] 66b1e0: fix: make sure the table have defined primary keys... Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: 58GruLoMopuc X-GitHub-Recipient-Address: pgsql-jdbc@lists.postgresql.org X-Auto-Response-Suppress: All List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: 66b1e0200c07447f8fad2e442462bb206d61be71 https://github.com/pgjdbc/pgjdbc/commit/66b1e0200c07447f8fad2e442462bb206d61be71 Author: Feng zhihao Date: 2021-03-22 (Mon, 22 Mar 2021) Changed paths: M pgjdbc/src/main/java/org/postgresql/jdbc/PgResultSet.java M pgjdbc/src/test/java/org/postgresql/test/jdbc2/UpdateableResultTest.java Log Message: ----------- fix: make sure the table have defined primary keys when using updateable resultset (#2101) * fix: make sure the table have defined primary keys when using updateable resultset * test: add test for updateable resultset without primary key Co-authored-by: System Administrator Co-authored-by: Fe