Re: [NOVICE] Array Problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: John Burski <John(dot)Burski(at)911ep(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: [NOVICE] Array Problem
Date: 2000-11-02 08:33:10
Message-ID: 24645.973153990@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

John Burski <John(dot)Burski(at)911ep(dot)com> writes:
> If I specify a particular array subscipt, for example:
> SELECT name, links[1] FROM testa;
> I get an error message that says:
> ERROR: Unable to locate type name 'vals' in catalog

In 6.5.* and earlier, you have to write out "testa.links[1]", IIRC.

> Any suggestions? Upgrading to 7.0 is not an option at the present time.

The above is just one of a depressingly large number of array-related
bugs fixed in 7.0. Not to mention a lot of non-array-related bugs fixed
in 7.0. I strongly recommend that you update.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-11-02 08:41:27 Re: Two Postmasters on the Same Machine
Previous Message Tom Lane 2000-11-02 08:09:10 Re: [SQL] Re: Problem with coalesce..

Browse pgsql-novice by date

  From Date Subject
Next Message Beth Gatewood 2000-11-02 17:34:16 Re: psql -e
Previous Message D. Duccini 2000-11-02 03:58:47 Re: psql -e