Re: Renaming sequence auto generated by SERIAL type don't update pg_attrdef

From: Kris Jurka <books(at)ejurka(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Oliver Jowett <oliver(at)opencloud(dot)com>, "Dickson S(dot) Guedes" <listas(at)guedesoft(dot)net>, pgsql-jdbc <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Renaming sequence auto generated by SERIAL type don't update pg_attrdef
Date: 2009-03-12 04:02:28
Message-ID: Pine.BSO.4.64.0903120001010.30563@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Tue, 10 Mar 2009, Tom Lane wrote:

> Oliver Jowett <oliver(at)opencloud(dot)com> writes:
>> Tom Lane wrote:
>>> pg_catalog.pg_get_expr(adbin, adrelid)
>
>> I don't think DBMD.getColumns() is expected to be called all that much,
>> certainly not in performance-critical paths, so perhaps the more complex
>> expression is the way to go. How far back, version-wise, will that
>> expression work?
>
> According to the pg_dump sources, that's good back to 7.3 ... do you
> care about earlier?

It works for 7.2 as well. Prior to that we'll continue using adsrc.
Committed to CVS and backpatched to 8.0.

Kris Jurka

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Peter 2009-03-12 10:04:27 Re: Totally weird behaviour in org.postgresql.Driver
Previous Message Kris Jurka 2009-03-12 03:53:02 Re: Documentation for working with PG interval types via JDBC