Re: pseudo-type record arguments for PL-functions

Поиск
Список
Период
Сортировка
От James William Pye
Тема Re: pseudo-type record arguments for PL-functions
Дата
Msg-id 20060507022709.GB18059@lit.jwp.name
обсуждение исходный текст
Ответ на Re: pseudo-type record arguments for PL-functions  (Thomas Hallgren <thomas@tada.se>)
Ответы Re: pseudo-type record arguments for PL-functions
Список pgsql-hackers
On Sun, May 07, 2006 at 12:16:16AM +0200, Thomas Hallgren wrote:
> Yes, the intarray stuff was very helpful but also somewhat confusing. 
> Why are there two ways of representing some of the array types? I mean, 
> why is there an _int4 when you could just as well write int4[]? I'm 
> probably missing the point altogether.

FWICT, Prefixing a '_' is the convention used to make the array type's typname
unique. Being able to reference array types as _type is a "side effect".
(array types being actual rows in pg_type)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: bug? non working casts for domain
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pseudo-type record arguments for PL-functions