From: Josh Berkus <josh@agliodbs.com>
To: sqllist <pgsql-sql@postgresql.org>
To: Jeff MacDonald <jeff@pgsql.com>
Subject: Cannot declare arrays?
Date: Mon, 12 Mar 2001 17:06:56 -0800
Message-ID: <3AAD72B0.DC5C7900@agliodbs.com> (raw)
References: <web-23712@davinci.ethosmedia.com>
Folks,
I'm trying to delcare an array (of type Numeric) within a PL/pgSQL
function. No matter what syntax I try, however, I get a compile error.
I've tried:
DECLARE
level_array NUMERIC(8,2)[];
level_array NUMERIC[](8,2);
level_array NUMERIC[];
level_array[] NUMERIC(8,2);
and even:
level_array MONEY[100];
Please help!
-Josh Berkus
--
______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh@agliodbs.com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco
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: josh@agliodbs.com, jeff@pgsql.com
Subject: Re: Cannot declare arrays?
In-Reply-To: <3AAD72B0.DC5C7900@agliodbs.com>
References: <web-23712@davinci.ethosmedia.com> <3AAD72B0.DC5C7900@agliodbs.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