Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 14FC4475CF9 for ; Sat, 22 Jun 2002 13:15:34 -0400 (EDT) Received: from pd5mo3so.prod.shaw.ca (h24-71-223-10.cg.shawcable.net [24.71.223.10]) by postgresql.org (Postfix) with ESMTP id A961D475CE8 for ; Sat, 22 Jun 2002 13:15:29 -0400 (EDT) Received: from pd5mr4so.prod.shaw.ca (pd5mr4so-qfe3.prod.shaw.ca [10.0.141.168]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0GY400GKGALT3H@l-daemon> for pgsql-sql@postgresql.org; Sat, 22 Jun 2002 11:15:29 -0600 (MDT) Received: from pn2ml10so.prod.shaw.ca (pn2ml10so-qfe0.prod.shaw.ca [10.0.121.80]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0GY4009IBALTWD@l-daemon> for pgsql-sql@postgresql.org; Sat, 22 Jun 2002 11:15:29 -0600 (MDT) Received: from kimiko (h24-78-152-126.vc.shawcable.net [24.78.152.126]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with SMTP id <0GY40051PALSLR@l-daemon> for pgsql-sql@postgresql.org; Sat, 22 Jun 2002 11:15:29 -0600 (MDT) Date: Sat, 22 Jun 2002 03:36:18 -0700 From: Vernon Wu Subject: A problem on running a sql script in DBVisualizer To: pgsql-sql@postgresql.org Reply-To: vernonw@gatewaytech.com Message-id: MIME-version: 1.0 X-Mailer: Opera 6.01 build 1041 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT X-Priority: 3 (Normal) X-Archive-Number: 200206/312 X-Sequence-Number: 8277 Sorry for this question is somewhat off the topic of this mailing list. I use the DBVisualizer to run a sql script. I have somethink like: drop table a; create table a( . . . ); drop table b; create table b ( . . . ) inherits a; I get an error: Relation "b" inherits from "a" It is fine when I run the sql statements line by line. How to overcome this problem? Thanks in advance. Vernon