From: Bricklen Anderson <banderson@presinet.com>
To: Ken Winter <ken@sunward.org>
Cc: PostgreSQL pg-sql list <pgsql-sql@postgresql.org>
Subject: Re: Arrays in PL/pgSQL routines?
Date: Thu, 29 Dec 2005 09:52:51 -0800
Message-ID: <43B42273.9030602@presinet.com> (raw)
In-Reply-To: <005101c60c9f$cfb5f660$6603a8c0@kenxp>
References: <005101c60c9f$cfb5f660$6603a8c0@kenxp>
Ken Winter wrote:
> Can arrays be declared in PL/pgSQL routines? If so, how?
>
<snip>
> DECLARE
>
try:
my_array VARCHAR[] := '{}';
not sure if this works in 7.4 though, if that's the version that you are
using.
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: banderson@presinet.com, ken@sunward.org
Subject: Re: Arrays in PL/pgSQL routines?
In-Reply-To: <43B42273.9030602@presinet.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