pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kristofer Munn <kmunn@munn.com>
To: Larry Rosenman <ler@lerctr.org>
Cc: pgsql-hackers@hub.org
Cc: pgsql-sql@hub.org
Subject: Re: [HACKERS] 7.0.2: Arrays
Date: Tue, 5 Sep 2000 16:22:39 -0400 (EDT)
Message-ID: <Pine.LNX.4.10.10009051621560.6691-100000@munn.com> (raw)
In-Reply-To: <20000905145630.A19424@lerami.lerctr.org>

On Tue, 5 Sep 2000, 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),
> ler(# routers[] varchar(64));

What you want to do is...

create table ia_standby (
	hsrp_group int2,
	router_interfaces varchar(64)[],
	routers varchar(64)[]
);

- K

Kristofer Munn * KMI * 732-254-9305 * AIM KrMunn * http://www.munn.com/




view thread (4+ messages)  latest in thread

Message-ID: <Pine.LNX.4.10.10009051621560.6691-100000@munn.com>
Permalink:  ../Pine.LNX.4.10.10009051621560.6691-100000@munn.com/
Also on:    postgresql.org/message-id/Pine.LNX.4.10.10009051621560.6691-100000@munn.com

 · 

reply

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: kmunn@munn.com, ler@lerctr.org, pgsql-hackers@hub.org, pgsql-sql@hub.org
  Subject: Re: [HACKERS] 7.0.2: Arrays
  In-Reply-To: <Pine.LNX.4.10.10009051621560.6691-100000@munn.com>
  References: <20000905145630.A19424@lerami.lerctr.org> <Pine.LNX.4.10.10009051621560.6691-100000@munn.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