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 1lz17j-000112-7u for pgsql-jdbc@arkaria.postgresql.org; Thu, 01 Jul 2021 18:09:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lz17i-0007TZ-4f for pgsql-jdbc@arkaria.postgresql.org; Thu, 01 Jul 2021 18:09:14 +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 1lz17h-0007TR-TG for pgsql-jdbc@lists.postgresql.org; Thu, 01 Jul 2021 18:09:13 +0000 Received: from out-25.smtp.github.com ([192.30.252.208] helo=smtp.github.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lz17d-0001uO-Cu for pgsql-jdbc@lists.postgresql.org; Thu, 01 Jul 2021 18:09:13 +0000 Received: from github.com (hubbernetes-node-58d9768.ash1-iad.github.net [10.56.113.20]) by smtp.github.com (Postfix) with ESMTPA id 48EF1840CCB for ; Thu, 1 Jul 2021 11:09:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1625162947; bh=Ctmia/uIb3fvNQRo6DdDUGWIvNnGypTN60FjtcSyjsg=; h=Date:From:To:Subject:From; b=z+CTPjDf6aRt1EllLDin8ulTfirjfte5f1OVpoySGYwEqp6dACaOrIUCA9qrTjHWY FLB8qnPIyNxR1B6d/VyMstL8L1Zb4jZMWmXJUI34r1MDRUu1EXw3jP+eXTy60DS3U1 e3VW2rZPiTy3rRTxsuoBjRgXaIw7dBctSlLF+yoQ= Date: Thu, 01 Jul 2021 11:09:07 -0700 From: Dave Cramer To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] 944fa0: fix: resultsets should be updateable if there is a... 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: 944fa0ad77dcf3a868adeb40eb136622ce8a161b https://github.com/pgjdbc/pgjdbc/commit/944fa0ad77dcf3a868adeb40eb136622ce8a161b Author: Dave Cramer Date: 2021-07-01 (Thu, 01 Jul 2021) Changed paths: M pgjdbc/src/main/java/org/postgresql/jdbc/PgDatabaseMetaData.java M pgjdbc/src/main/java/org/postgresql/jdbc/PgResultSet.java M pgjdbc/src/test/java/org/postgresql/test/jdbc2/UpdateableResultTest.java Log Message: ----------- fix: resultsets should be updateable if there is a unique constraint on the table fixes issue #2196 (#2199)