Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f2D17dx10093 for ; Mon, 12 Mar 2001 20:07:39 -0500 (EST) (envelope-from josh@agliodbs.com) Received: from [209.122.114.86] (HELO agliodbs.com) by davinci.ethosmedia.com (CommuniGate Pro SMTP 3.4.1) with ESMTP id 24054; Mon, 12 Mar 2001 17:07:34 -0800 Message-ID: <3AAD72B0.DC5C7900@agliodbs.com> Date: Mon, 12 Mar 2001 17:06:56 -0800 From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions X-Mailer: Mozilla 4.73 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: sqllist , Jeff MacDonald Subject: Cannot declare arrays? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/236 X-Sequence-Number: 1895 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