Re: array type name mangling

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: array type name mangling
Date: 2007-05-05 18:39:25
Message-ID: 25598.1178390365@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> Tom Lane wrote:
>> makeArrayTypeName and users thereof. Or are you going to extend pg_type
>> to have a direct link?

> I am going to change makeArrayTypeName() to do the mangling. Its users
> will need to pass in a namespace as well as a typename so it can do the
> checking.

You missed the point: there is a need to find the array type associated
with an existing element type, not only the other way round. See
LookupTypeName() and get_array_type().

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-05-05 18:45:56 Re: iterating over relation's attributes
Previous Message Andrew Dunstan 2007-05-05 17:09:31 iterating over relation's attributes