Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 1B0A1650078 for ; Thu, 18 Sep 2008 20:03:34 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 58030-01-8 for ; Thu, 18 Sep 2008 20:03:28 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 5418864FFB8 for ; Thu, 18 Sep 2008 20:03:16 -0300 (ADT) 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 m8IN3BD1006907; Thu, 18 Sep 2008 19:03:11 -0400 (EDT) To: Carol Walter cc: pgsql-admin@postgresql.org Subject: Re: type unknown? In-reply-to: <295F7A7F-901C-49F8-9627-61922BD33F6C@indiana.edu> References: <2235.1221771693@sss.pgh.pa.us> <295F7A7F-901C-49F8-9627-61922BD33F6C@indiana.edu> Comments: In-reply-to Carol Walter message dated "Thu, 18 Sep 2008 18:14:21 -0400" Date: Thu, 18 Sep 2008 19:03:11 -0400 Message-ID: <6906.1221778991@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200809/210 X-Sequence-Number: 30303 Carol Walter writes: > Well, it''s a guess. A "CREATE VIEW" follows the line that specifies > the warning. (An "ALTER TABLE" immediately precedes it.) This made > me think that is was on a view; then I went through the views till I > found one with a column called "collection". Is there another way I > can isolate what's happening? Try doing the restore with log_min_error_statement set to WARNING; that would at least confirm whether you're looking at the right view definition. BTW, what PG version is this? regards, tom lane