pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Martin Goodson <kaemaril@googlemail.com>
To: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: "Server versions prior to 8.0 do not support savepoints" when using JDBC ...
Date: Sun, 29 Nov 2020 10:10:32 -0800
Message-ID: <d2e78fbe-dc86-b9ad-a135-b32eb0c7ae9f@aklaver.com> (raw)
In-Reply-To: <08e909a1-1bb0-61df-3086-dd6921c7285e@googlemail.com>
References: <08e909a1-1bb0-61df-3086-dd6921c7285e@googlemail.com>

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





view thread (9+ messages)  latest in thread

Message-ID: <d2e78fbe-dc86-b9ad-a135-b32eb0c7ae9f@aklaver.com>
Permalink:  ../d2e78fbe-dc86-b9ad-a135-b32eb0c7ae9f@aklaver.com/
Also on:    postgresql.org/message-id/d2e78fbe-dc86-b9ad-a135-b32eb0c7ae9f@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, kaemaril@googlemail.com
  Subject: Re: "Server versions prior to 8.0 do not support savepoints" when using JDBC ...
  In-Reply-To: <d2e78fbe-dc86-b9ad-a135-b32eb0c7ae9f@aklaver.com>
  References: <08e909a1-1bb0-61df-3086-dd6921c7285e@googlemail.com> <d2e78fbe-dc86-b9ad-a135-b32eb0c7ae9f@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox