Re: Arrays in PL/pgSQL routines?

From: Bricklen Anderson <banderson(at)presinet(dot)com>
To: Ken Winter <ken(at)sunward(dot)org>
Cc: PostgreSQL pg-sql list <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Arrays in PL/pgSQL routines?
Date: 2005-12-29 17:52:51
Message-ID: 43B42273.9030602@presinet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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.

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Michael Fuhr 2005-12-29 18:21:21 Re: Arrays in PL/pgSQL routines?
Previous Message David Garamond 2005-12-29 17:48:26 Re: constraint and ordered value