Re: array type name mangling - Mailing list pgsql-hackers

From Tom Lane
Subject Re: array type name mangling
Date
Msg-id 25598.1178390365@sss.pgh.pa.us
Whole thread Raw
In response to Re: array type name mangling  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: array type name mangling
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.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


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: iterating over relation's attributes
Next
From: Tom Lane
Date:
Subject: Re: iterating over relation's attributes