Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id EF7CE47627A for ; Fri, 29 Nov 2002 07:13:53 -0500 (EST) Received: from trill.maridan.net (unknown [217.6.52.210]) by postgresql.org (Postfix) with ESMTP id 9130D476170 for ; Fri, 29 Nov 2002 07:13:50 -0500 (EST) Received: from polonium.de (gateway.space2go.net [217.111.16.13]) by trill.maridan.net (8.9.3/8.9.3) with ESMTP id NAA00985 for ; Fri, 29 Nov 2002 13:13:50 +0100 Message-ID: <3DE759FE.B58ECF52@polonium.de> Date: Fri, 29 Nov 2002 13:13:50 +0100 From: Rafal Kedziorski X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-sql@postgresql.org Subject: import sql script Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/438 X-Sequence-Number: 10580 Hallo, I have a big sql script, which creates about 120 tables. much of them have FK to other tables. The order in this sql script is not correct. Tables which be create at least, while they have FK to other table, are defined bevore. Is there any way to import this structure to PostgreSQL without correcting the order in my script. Best Regards, Rafal