From: lxnf98mm@comcast.net
To: pgsql-sql@postgresql.org
Subject: ERROR: cannot subscript type text because it is not an array
Date: Wed, 31 Aug 2011 08:26:57 -0500 (CDT)
Message-ID: <alpine.LRH.2.00.1108310820490.21634@rray.drdc.mstc.ms.gov> (raw)
I have table with field l type lseg
Column | Type | Modifiers
--------+---------+-----------
cnt | integer |
used | boolean |
l | lseg |
c | text |
select l from t where used = false group by l[0];
ERROR: cannot subscript type text because it is not an array
select l from gcode where used = false group by l[0][0],l[0][1];
ERROR: cannot subscript type text because it is not an array
Using PostgreSQL 8.3.11
How can I work around this
Richard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: lxnf98mm@comcast.net
Subject: Re: ERROR: cannot subscript type text because it is not an array
In-Reply-To: <alpine.LRH.2.00.1108310820490.21634@rray.drdc.mstc.ms.gov>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox