Re: Arrays in system tables

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Rod Taylor <rbt(at)zort(dot)ca>
Cc: Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Arrays in system tables
Date: 2002-04-27 06:06:49
Message-ID: 200204270606.g3R66nx01119@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Rod Taylor wrote:
> Just exactly how does one get an array into a system table?
>
> Of course, _int2 and int2[] aren't normal C constructs so using it
> within CATALOG won't work.
>
> I suppose thats why the vector types were invented?

Well, pg_shadow had pg_class has:

relacl | aclitem[] |

and pg_shadow has:

useconfig | text[] |

so I would use those as guides.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Rod Taylor 2002-04-27 06:08:34 Re: Arrays in system tables
Previous Message Rod Taylor 2002-04-27 04:49:35 Arrays in system tables