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