From: Kris Jurka <books@ejurka.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Oliver Jowett <oliver@opencloud.com>
Cc: Dickson S. Guedes <listas@guedesoft.net>
Cc: pgsql-jdbc <pgsql-jdbc@postgresql.org>
Subject: Re: Renaming sequence auto generated by SERIAL type don't update pg_attrdef
Date: Thu, 12 Mar 2009 00:02:28 -0400 (EDT)
Message-ID: <Pine.BSO.4.64.0903120001010.30563@leary.csoft.net> (raw)
In-Reply-To: <21668.1236659822@sss.pgh.pa.us>
References: <1236650119.6410.73.camel@guedes-laptop>
<20795.1236655715@sss.pgh.pa.us>
<49B5E208.1080205@opencloud.com>
<21151.1236657248@sss.pgh.pa.us>
<49B5E761.4060507@opencloud.com>
<21668.1236659822@sss.pgh.pa.us>
On Tue, 10 Mar 2009, Tom Lane wrote:
> Oliver Jowett <oliver@opencloud.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
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: books@ejurka.com, tgl@sss.pgh.pa.us, oliver@opencloud.com, listas@guedesoft.net
Subject: Re: Renaming sequence auto generated by SERIAL type don't update pg_attrdef
In-Reply-To: <Pine.BSO.4.64.0903120001010.30563@leary.csoft.net>
References: <1236650119.6410.73.camel@guedes-laptop> <20795.1236655715@sss.pgh.pa.us> <49B5E208.1080205@opencloud.com> <21151.1236657248@sss.pgh.pa.us> <49B5E761.4060507@opencloud.com> <21668.1236659822@sss.pgh.pa.us> <Pine.BSO.4.64.0903120001010.30563@leary.csoft.net>
* 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