Fixed Length Arrays

From: "Arthur M(dot) Kang" <arthur(at)levelogic(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Fixed Length Arrays
Date: 2000-02-22 17:51:36
Message-ID: 38B2CCA8.E2F52CB6@levelogic.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Can somebody tell me how to define a fixed length array? The manual is
pretty sparse on arrays.

I'm trying to create a fixed length boolean array by using:

CREATE TABLE test (apple boolean[5]);

This creates the array, but it is not fixed in length. Inserting and
retrieving larger arrays (greater than 5) seems to work. Am I not
seeing how this is supposed to work??

Any enlightenment would be appreciated. Thanks.

Arthur

Browse pgsql-general by date

  From Date Subject
Next Message Marten Feldtmann 2000-02-22 18:07:56 Re: [GENERAL] Re: [General] pgsql on win95
Previous Message Tom Lane 2000-02-22 16:32:51 Re: [HACKERS] TRANSACTIONS