Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fAS01am24051 for ; Tue, 27 Nov 2001 19:01:36 -0500 (EST) (envelope-from josh@agliodbs.com) Received: from [209.10.40.250] (account ) by davinci.ethosmedia.com (CommuniGate Pro WebUser 3.4.7) with HTTP id 514787; Tue, 27 Nov 2001 16:01:36 -0800 From: "Josh Berkus" Subject: Re: PL/pgSQL examples NOT involving functions To: "Aasmund Midttun Godal" , josh@agliodbs.com Cc: pgsql-sql@postgresql.org X-Mailer: CommuniGate Pro Web Mailer v.3.4.7 Date: Tue, 27 Nov 2001 16:01:36 -0800 Message-ID: In-Reply-To: <20011127195351.12651.qmail@213-145-170-138.dd.nextgentel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Archive-Number: 200111/372 X-Sequence-Number: 5754 Aasmund, > envisity=# DROP TABLE temp ; > DROP > envisity=# create table temp (tempid integer); > CREATE > envisity=# INSERT INTO temp VALUES(3); > INSERT 150371 1 > envisity=# select test3(); > ERROR: Relation 150348 does not exist > envisity=# That's a new one on me. I've dropped and re-created dozens of tables, and while I have to re-build the views, I've never had to touch the functions for that reason. Either in PL/pgSQL or in SQL. What version are we talking about? -Josh ______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