pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <craig@2ndquadrant.com>
To: pgsql-jdbc@postgresql.org
Subject: [pgjdbc/pgjdbc] 1de16b: Make autosave=server missing server support error ...
Date: Mon, 30 Jul 2018 00:53:52 -0700
Message-ID: <5b5ec4102afab_730f2b232c2d8f8c2530@hookshot-fe-cace476.cp1-iad.github.net.mail> (raw)

  Branch: refs/heads/sql07-autosave-statement-rollback
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: 1de16b56aecd10b609b729b073c7a5edfb80892f
      https://github.com/pgjdbc/pgjdbc/commit/1de16b56aecd10b609b729b073c7a5edfb80892f
  Author: Craig Ringer <craig@2ndquadrant.com>
  Date:   2018-07-30 (Mon, 30 Jul 2018)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/core/v3/ConnectionFactoryImpl.java

  Log Message:
  -----------
  Make autosave=server missing server support error more specific

autosave=server would report "Transaction rollback statements are not supported"
even for completely unrelated connection errors like

    org.postgresql.util.PSQLException: Transaction rollback statements are not supported
      ...
    Caused by: org.postgresql.util.PSQLException: FATAL: role "test" does not exist
      ...

Now it'll properly re-throw for other cases.



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

Message-ID: <5b5ec4102afab_730f2b232c2d8f8c2530@hookshot-fe-cace476.cp1-iad.github.net.mail>
Permalink:  ../5b5ec4102afab_730f2b232c2d8f8c2530@hookshot-fe-cace476.cp1-iad.github.net.mail/
Also on:    postgresql.org/message-id/5b5ec4102afab_730f2b232c2d8f8c2530@hookshot-fe-cace476.cp1-iad.github.net.mail

 · 

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-jdbc@postgresql.org
  Cc: craig@2ndquadrant.com
  Subject: Re: [pgjdbc/pgjdbc] 1de16b: Make autosave=server missing server support error ...
  In-Reply-To: <5b5ec4102afab_730f2b232c2d8f8c2530@hookshot-fe-cace476.cp1-iad.github.net.mail>
  References: <5b5ec4102afab_730f2b232c2d8f8c2530@hookshot-fe-cace476.cp1-iad.github.net.mail>

* 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