Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f3C4nD833467 for ; Thu, 12 Apr 2001 00:49:13 -0400 (EDT) (envelope-from josh@agliodbs.com) Received: from [209.10.40.250] (account ) by davinci.ethosmedia.com (CommuniGate Pro WebUser 3.4.1) with HTTP id 37164; Wed, 11 Apr 2001 21:49:12 -0700 From: "Josh Berkus" Subject: Re: Calling plSQL functions To: Lonnie Cumberland , pgsql-sql@postgresql.org X-Mailer: CommuniGate Pro Web Mailer v.3.4.1 Date: Wed, 11 Apr 2001 21:49:12 -0700 Message-ID: In-Reply-To: <20010412041617.71469.qmail@web12506.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Archive-Number: 200104/173 X-Sequence-Number: 2521 Lonnie, It may be that you have not linked the PL/pgSQL language in Postgres. It may be that you are putting a SELECT statement inside your function. It is hard to tell, becuase I am unclear on the problem youa re having, exactly. Here's some terminology to help clarify: PL/pgSQL is the extension of SQL written by Jan Wieck used to write functions in PostgreSQL. PSQL is the command-line interface tool for the PostgreSQL database. PL/SQL is a procedure-writing language for Oracle which does not work on PostgreSQL at all, although it was the inspiration for PL/pgSQL. Please re-state you difficulty, and I can probably help you. -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