Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 311A3642064 for ; Tue, 8 May 2012 14:41:20 -0300 (ADT) Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SRoPX-0001v0-AS for pgsql-bugs@postgresql.org; Tue, 08 May 2012 17:41:19 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id q48Hf4rV003090; Tue, 8 May 2012 13:41:04 -0400 (EDT) To: avandras@gmail.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #6634: pg_dump dumps cast after objects depending on it In-reply-to: References: Comments: In-reply-to avandras@gmail.com message dated "Tue, 08 May 2012 13:31:08 -0000" Date: Tue, 08 May 2012 13:41:04 -0400 Message-ID: <3089.1336498864@sss.pgh.pa.us> From: Tom Lane X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201205/48 X-Sequence-Number: 33019 avandras@gmail.com writes: > A cast, which transforms a composite type to timestamp without time zone, is > included in the regular backups of a database. > There are several views utilizing this cast, but these are always listed > before the cast, therefore pg_restore or psql will issue an error instead of > creating the view. Please provide a concrete example. regards, tom lane