Re: pseudo-type record arguments for PL-functions - Mailing list pgsql-hackers

From James William Pye
Subject Re: pseudo-type record arguments for PL-functions
Date
Msg-id 20060507022709.GB18059@lit.jwp.name
Whole thread Raw
In response to Re: pseudo-type record arguments for PL-functions  (Thomas Hallgren <thomas@tada.se>)
Responses Re: pseudo-type record arguments for PL-functions
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: bug? non working casts for domain
Next
From: Tom Lane
Date:
Subject: Re: pseudo-type record arguments for PL-functions