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 1kjR9q-00089i-HE for pgsql-general@arkaria.postgresql.org; Sun, 29 Nov 2020 18:10:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kjR9o-0005LV-Q2 for pgsql-general@arkaria.postgresql.org; Sun, 29 Nov 2020 18:10:44 +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 1kjR9n-0005LO-A2 for pgsql-general@lists.postgresql.org; Sun, 29 Nov 2020 18:10:44 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kjR9g-0001yA-A0 for pgsql-general@lists.postgresql.org; Sun, 29 Nov 2020 18:10:42 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 3DA3A89D; Sun, 29 Nov 2020 13:10:34 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sun, 29 Nov 2020 13:10:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=H W/0ljumVKacq89nqbwRX1e0QLQjQKtuDMjYvXzrM4c=; b=i3OaVSu5SJPxyUv9w v2XkoWV2i2QhjqgdX6GkSTlbltQWX5H/NCD+ldiapFDz4KoU5a48/WrxLVb1kJ6g U5erGOlma042Nz69HvfuAvn68olOEaciqzMGINfNUH6LHXCd+MQHlF9QrQYed8Eu B+dHbdxQiA5cYrR6GDgyK8FiDvGQqKmewSaNZFYwcMnZ2j5y2AvA3tpuLAAVeKpI iJspCO2mobYoXpp+y5CoSMNPNA5EdxSDYGthcBLWxHOtYZ3pjAvAn+iFcM4BD6lc CwLCCJf4fyKSl+hz72Fn5HoOQkiBQNiRp0Z5UrxdI/9mJXL+C4diPOgTv0XnQf0l VFuTg== 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-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=HW/0ljumVKacq89nqbwRX1e0QLQjQKtuDMjYvXzrM 4c=; b=Fp9x3sVkzv/1mvhnXwLaAGWC3Wf6ZZQj5RwC0B3F76pjgNs+uaGqww1f8 158bJKtmskLZV/5Ml4YBpjOxUcVszD9tN+X3eeavB4AU+olWbxkxKrCBSsaeGNk5 uSK/m8f+hnBouzIo19OfoCy67ENK5M8KSGFcTtbwOhAwdTjhZLt2p67bKV4npdDZ kltfZ28ygThoMDu8KH+gvN6FUl8w+BsgGUmq0xrFYn5xg/ig9Bsvikqnty7A0uR9 7WHO3bsYwsqvRRmxGydcrxHy7pl8euXJKOkW9viQjm6yk3P6BI+vgkfWSPBBpTn4 tT985nsY4hfPhxvlOiu5JIGyQbCQA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudehkedguddutdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesth ejredttdefjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdr khhlrghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeetjedvte ffjeeuvdelieeffeehuedthffgvdfhhffhkedvudevgedvjedufefgveenucfkphepjeeh rddujedvrddurdeileenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: from [192.168.1.4] (75-172-1-69.tukw.qwest.net [75.172.1.69]) by mail.messagingengine.com (Postfix) with ESMTPA id 32C2E3064AB0; Sun, 29 Nov 2020 13:10:33 -0500 (EST) Subject: Re: "Server versions prior to 8.0 do not support savepoints" when using JDBC ... To: Martin Goodson , pgsql-general References: <08e909a1-1bb0-61df-3086-dd6921c7285e@googlemail.com> From: Adrian Klaver Message-ID: Date: Sun, 29 Nov 2020 10:10:32 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <08e909a1-1bb0-61df-3086-dd6921c7285e@googlemail.com> 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 11/29/20 10:06 AM, Martin Goodson wrote: > Hello. > > I wonder if anyone can assist with this? > > Some of my developers are reporting that they are getting the following > message when attempting to connect to the database using jdbc: > > Caused by: org.postgresql.util.PSQLException: Server versions prior to > 8.0 do not support savepoints > > at > > org.postgresql.jdbc3.AbstractJdbc3Connection.setSavepoint(AbstractJdbc3Connection.java:95) > > > Database version is 10.5 running under RHEL 7.4. The postgreSQL jdbc > driver version they're employing is postgresl-42.2.9. How was the database installed and from where? Do you have more then one instance of Postgres running on the machine? What is the connection code being used? > > The database itself has absolutely no issues creating savepoints (I > checked it, just in case ...) so I'm assuming it must be some issue with > the driver / how the driver has been configured. > > As you can see I've not been given a a lot to go on, unfortunately. Has > anyone seen this before? Is this a common issue and my google-fu has > failed me? :) > > Many thanks. > > Regards, > > M. > -- Adrian Klaver adrian.klaver@aklaver.com