X-Original-To: pgsql-sql@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id E891B474E4F for ; Thu, 3 Apr 2003 13:01:41 -0500 (EST) Received: from davinci.ethosmedia.com (unknown [209.10.40.251]) by postgresql.org (Postfix) with ESMTP id 45B17474E44 for ; Thu, 3 Apr 2003 13:01:41 -0500 (EST) Received: from [216.135.165.74] (HELO temoku) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.0.2) with ESMTP id 2940416; Thu, 03 Apr 2003 10:01:33 -0800 Content-Type: text/plain; charset="iso-8859-1" From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: Walter McGinnis , pgsql-sql@postgresql.org Subject: Re: pesky plpgsql Date: Thu, 3 Apr 2003 10:01:36 -0800 User-Agent: KMail/1.4.3 References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200304031001.36024.josh@agliodbs.com> X-Spam-Status: No, hits=-21.9 required=5.0 tests=BAYES_10,IN_REP_TO,REFERENCES,USER_AGENT_KMAIL autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/44 X-Sequence-Number: 12745 Walter, > CREATE FUNCTION update_cat_keys() RETURNS integer AS ' > declare > v_row RECORD; What's in-between v_row and RECORD? Maybe a non-standard tab character? That's the only thing I can see, as the rest of your syntax looks fine. (FYI, in PL/pgSQL, your function is not compiled until you run it.) --=20 -Josh Berkus Aglio Database Solutions San Francisco