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 1lb6wh-0004j0-7R for pgsql-jdbc@arkaria.postgresql.org; Mon, 26 Apr 2021 19:31:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lb6wg-0006Sk-3O for pgsql-jdbc@arkaria.postgresql.org; Mon, 26 Apr 2021 19:31:02 +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 1lb6te-0003en-Pa for pgsql-jdbc@lists.postgresql.org; Mon, 26 Apr 2021 19:27:54 +0000 Received: from out-25.smtp.github.com ([192.30.252.208] helo=smtp.github.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lb6tc-0003lQ-KA for pgsql-jdbc@lists.postgresql.org; Mon, 26 Apr 2021 19:27:53 +0000 Received: from github.com (hubbernetes-node-fd8ae53.ash1-iad.github.net [10.56.120.47]) by smtp.github.com (Postfix) with ESMTPA id 891C68408F4 for ; Mon, 26 Apr 2021 12:27:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1619465271; bh=kAblMKWAr1FRVftIdIsQReQcStA8xXoIJpcvbkQxjNY=; h=Date:From:To:Subject:From; b=w20XYlMNeFTIl4ekuTXQNAxyp+D7Va8CuL5KPm6gWE48/K+7i3t4rjaehzml8ThP+ ETEz3twYOMgfeFX1tBE7om6UGPXVyQsjuRY8+EYWEOLTxqcEyD02r9aP0BZ/DDhyaZ gVhRkdUjAabSYj20J2KkCZucdajckmzX1Z/vnskE= Date: Mon, 26 Apr 2021 12:27:51 -0700 From: Dave Cramer To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] 47084e: 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/release/42.2 Home: https://github.com/pgjdbc/pgjdbc Commit: 47084ef12abd295f522186739654a4db6bba4908 https://github.com/pgjdbc/pgjdbc/commit/47084ef12abd295f522186739654a4db6bba4908 Author: Dave Cramer Date: 2021-04-26 (Mon, 26 Apr 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) (#2106) * 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: Feng zhihao