Re: array type name mangling

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: array type name mangling
Дата
Msg-id 463CD56C.8090707@dunslane.net
обсуждение исходный текст
Ответ на Re: array type name mangling  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

Tom Lane wrote:
> 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().
>
>             
>   

OK, in that case I think we should extend pg_type with a direct link, 
don't you?

cheers

andrew


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: array type name mangling
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: iterating over relation's attributes