Skip site navigation (1) Skip section navigation (2)

Re: array support patch phase 1 patch

From: Joe Conway <mail(at)joeconway(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: array support patch phase 1 patch
Date: 2003-03-30 22:12:17
Message-ID: 3E876BC1.9010706@joeconway.com (view raw or flat)
Thread:
Lists: pgsql-patches
Tom Lane wrote:
> Joe Conway <mail(at)joeconway(dot)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


In response to

Responses

pgsql-patches by date

Next:From: Tom LaneDate: 2003-03-30 22:16:32
Subject: Re: array support patch phase 1 patch
Previous:From: Tom LaneDate: 2003-03-30 20:56:20
Subject: Re: holdable cursors

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group