Re: ERROR: array_in: Need to specify dimension

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Charles Lewis <lewisc(at)delta(dot)swau(dot)edu>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: ERROR: array_in: Need to specify dimension
Date: 2003-04-24 00:02:29
Message-ID: 20030423170034.D91056-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 23 Apr 2003, Charles Lewis wrote:

> New to postgres and trying to create a simple table with a text
> (variable length) column and getting the following error:
>
> An error occured in pgAdminII:frmSQLOutput.cmdSave_Click:
>
> Number: -2147467259
> Description: ERROR: array_in: Need to specify dimension
>
> Here's the schema:
>
> -- Table: public.client
> CREATE TABLE public.client (
> clientid int4 NOT NULL,
> name varchar(50),
> comment text[],
> CONSTRAINT client_pkey PRIMARY KEY (clientid)
> ) WITH OIDS;
>
> Any suggestions?

Was the error from the create or an insert (I'd gather the latter)? In
any case, are you really sure you wanted an array of variable length text
objects (text[]) rather than just one variable length text object (text)?
:)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dennis Gearon 2003-04-24 00:04:46 Re: ERROR: array_in: Need to specify dimension
Previous Message Sean Chittenden 2003-04-24 00:01:57 Re: pg_stat_get_backen_last_activity() ???