From: Jie Liang <jliang@ipinc.com>
To: Larry Rosenman <ler@lerctr.org>
Cc: pgsql-hackers@hub.org
Cc: pgsql-sql@hub.org
Subject: Re: 7.0.2: Arrays
Date: Tue, 05 Sep 2000 13:38:47 -0700
Message-ID: <39B559D7.FE4E215D@ipinc.com> (raw)
References: <20000905145630.A19424@lerami.lerctr.org>
Hi, there
Your syntax is not correct, pls check the Pg documentatation, the
correction as following.
Larry Rosenman wrote:
> Greetings,
> I was trying to use arrays today, and can't seem to get it right.
>
> What am I doing wrong?
>
> ler=# create table ia_standby (hsrp_group int2,
> ler(# router_interfaces[] varchar(64),
==>router_interfaces varchar(64)[],
>
> ler(# routers[] varchar(64));
> ERROR: parser: parse error at or near "["
> ler=# create table ia_standby (hsrp_group int2,
> ler(# router_interfaces[] text,
==>router_interfaces text[],
>
> ler(# routers[] text);
> ERROR: parser: parse error at or near "["
> ler=#
>
> --
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 972-414-9812 (voice) Internet: ler@lerctr.org
> US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
--
Jie LIANG
Internet Products Inc.
10350 Science Center Drive
Suite 100, San Diego, CA 92121
Office:(858)320-4873
jliang@ipinc.com
www.ipinc.com
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: jliang@ipinc.com, ler@lerctr.org, pgsql-hackers@hub.org, pgsql-sql@hub.org
Subject: Re: 7.0.2: Arrays
In-Reply-To: <39B559D7.FE4E215D@ipinc.com>
References: <20000905145630.A19424@lerami.lerctr.org> <39B559D7.FE4E215D@ipinc.com>
* 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