Received: from astercity.net (root@astercity.net [195.116.8.78]) by hub.org (8.9.1/8.9.1) with ESMTP id QAA15951 for ; Tue, 5 Jan 1999 16:16:03 -0500 (EST) (envelope-from pawel@astercity.net) Received: from mail.astercity.net (verona33.waw.pdi.net [195.116.8.33]) by astercity.net (8.8.7/8.8.7) with SMTP id WAA15574 for ; Tue, 5 Jan 1999 22:15:22 +0100 Date: Tue, 5 Jan 1999 22:20:50 +0100 From: Pawel Pierscionek X-Mailer: The Bat! (v1.19) S/N 359CE73E Reply-To: Pawel Pierscionek Organization: PDi- Publiczny Dostep do Internetu X-Priority: 3 (Normal) Message-ID: <15931.990105@astercity.net> To: pgsql-sql Subject: drop table in pgsql Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, How do I drop a table under plpgsql ? When I invoke a function which contains eg: DROP TABLE TMP a get a backend crash no matter if this table exists or not. I can always do it the hard way and put DROP ... in an SQL function and then invoke DROP indirectly but do I have to ? Please help me Pawel Pierscionek