Re: ERROR: array_in: Need to specify dimension - Mailing list pgsql-general

From Dennis Gearon
Subject Re: ERROR: array_in: Need to specify dimension
Date
Msg-id 3EA72A1E.8040601@cvc.net
Whole thread Raw
In response to ERROR: array_in: Need to specify dimension  (Charles Lewis <lewisc@delta.swau.edu>)
List pgsql-general
remove the '[]' characters, if all you want is a variable length string column, they are unneeded.

That's 'C/++' syntax in that usage!

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?
>
> Charles Lewis
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html
>


pgsql-general by date:

Previous
From: Charles Lewis
Date:
Subject: ERROR: array_in: Need to specify dimension
Next
From: Sean Chittenden
Date:
Subject: Re: pg_stat_get_backen_last_activity() ???