pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <ringerc@ringerc.id.au>
To: Maciek Sakrejda <m.sakrejda@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Johann 'Myrkraverk' Oskarsson <johann@2ndquadrant.com>
Cc: PostgreSQL JDBC <pgsql-jdbc@postgresql.org>
Subject: Re: get/setReadOnly broken if default_transaction_read_only on
Date: Sun, 10 Jun 2012 11:18:50 +0800
Message-ID: <4FD4121A.3020000@ringerc.id.au> (raw)
In-Reply-To: <CAOtHd0CNwWXti=UJXcX4irdyrtVZWWoEuBR7BNqJTJmjfiN8QA@mail.gmail.com>
References: <4FCFB988.2080408@math.purdue.edu>
	<4FD08767.6000302@ringerc.id.au>
	<p32k49.x5p32k49.boku.md0y.gnus@asuka.myrkraverk.com>
	<4FD1FA7F.4050400@ringerc.id.au>
	<11465.1339163239@sss.pgh.pa.us>
	<CAOtHd0CNwWXti=UJXcX4irdyrtVZWWoEuBR7BNqJTJmjfiN8QA@mail.gmail.com>

On 06/09/2012 12:52 AM, Maciek Sakrejda wrote:
> On Fri, Jun 8, 2012 at 6:47 AM, Tom Lane<tgl@sss.pgh.pa.us>  wrote:
>> There already is a mechanism to notify clients of changes in selected
>> GUC settings, but currently the set of parameters so reported is
>> hard-wired.  Possibly pgsql-hackers would consider a proposal to let
>> the GUC_REPORT flag get set on client-selected parameters.
> Somewhat off-topic, but along the same lines, it would also be worth
> considering some mechanism to give the driver visibility into catalog
> changes w.r.t. UDTs. I.e., right now, the only way for the driver to
> sanely support custom types is to query the catalog for the oid of a
> specific type name. However, if that type is subsequently dropped and
> re-created and gets a different oid, the driver has no idea.
> Unfortunately, I don't think there's a great way to support that
> without protocol changes (whereas for the reporting flag, that's not
> an issue).

Is there currently a page with a list of changes to be included in the 
next protocol revision? I could've sworn there was one around, but cant' 
seem to find it. If there isn't, I'll pop one up on the wiki and link to 
it from the todo.

Should put capability flags on the list too. So many difficult decisions 
about defaults (like the bytea format issue) would be simplified by 
having clients send a capability flag set. "Yup, I know about 'hex' 
format bytea."

--
Craig Ringer



view thread (10+ messages)

Message-ID: <4FD4121A.3020000@ringerc.id.au>
Permalink:  ../4FD4121A.3020000@ringerc.id.au/
Also on:    postgresql.org/message-id/4FD4121A.3020000@ringerc.id.au

 · 

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: ringerc@ringerc.id.au, m.sakrejda@gmail.com, tgl@sss.pgh.pa.us, johann@2ndquadrant.com
  Subject: Re: get/setReadOnly broken if default_transaction_read_only on
  In-Reply-To: <4FD4121A.3020000@ringerc.id.au>
  References: <4FCFB988.2080408@math.purdue.edu> <4FD08767.6000302@ringerc.id.au> <p32k49.x5p32k49.boku.md0y.gnus@asuka.myrkraverk.com> <4FD1FA7F.4050400@ringerc.id.au> <11465.1339163239@sss.pgh.pa.us> <CAOtHd0CNwWXti=UJXcX4irdyrtVZWWoEuBR7BNqJTJmjfiN8QA@mail.gmail.com> <4FD4121A.3020000@ringerc.id.au>

* 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