Re: array support patch phase 1 patch - Mailing list pgsql-patches

From Joe Conway
Subject Re: array support patch phase 1 patch
Date
Msg-id 3E876BC1.9010706@joeconway.com
Whole thread Raw
In response to Re: array support patch phase 1 patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: array support patch phase 1 patch  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Tom Lane wrote:
> Joe Conway <mail@joeconway.com> writes:
>>Any suggestions? I was toying with the idea that an isarray attribute
>>should be added to pg_type -- thoughts on that?
>
> Don't think you need it to go in that direction: the property of having
> nonzero typelem indicates that something is an array.

But I don't think of the following as arrays, at least not in the same
sense of _text, etc.:

regression=# select typname from pg_type where typelem != 0 and typname
not like '\\_%';
   typname
------------
  name
  int2vector
  oidvector
  point
  lseg
  box
  line
(7 rows)

Joe


pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: holdable cursors
Next
From: Tom Lane
Date:
Subject: Re: array support patch phase 1 patch