Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 92BAE64FCCF for ; Thu, 18 Sep 2008 17:29:16 -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 22832-09 for ; Thu, 18 Sep 2008 17:29:08 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from belushi.uits.indiana.edu (belushi.uits.indiana.edu [129.79.1.188]) by postgresql.org (Postfix) with ESMTP id 9091064FCBF for ; Thu, 18 Sep 2008 17:29:07 -0300 (ADT) Received: from mail-relay.iu.edu (logchain.uits.indiana.edu [129.79.1.77]) by belushi.uits.indiana.edu (8.14.2/8.13.8/IU Messaging Team) with ESMTP id m8IKT5sM030727 for ; Thu, 18 Sep 2008 16:29:05 -0400 Received: from [129.79.36.69] (walter.slis.indiana.edu [129.79.36.69]) (authenticated bits=0) by mail-relay.iu.edu (8.13.8/8.12.10/IUPO) with ESMTP id m8IKT4kw021884 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Thu, 18 Sep 2008 16:29:05 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v753) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: pgsql-admin@postgresql.org From: Carol Walter Subject: type unknown? Date: Thu, 18 Sep 2008 16:29:03 -0400 X-Mailer: Apple Mail (2.753) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200809/204 X-Sequence-Number: 30297 Greetings one and all, I am porting all my databases from a 32 bit Postgres engine to 64 bit Postgres. To do this, I did a pg_dumpall and I'm restoring. I got an error on the restoration as follows: psql:/dbsdisk/data_load/dbdev_all_080915.sql:3920581: WARNING: column "collection" has type "unknown" DETAIL: Proceeding with relation creation anyway. The view that was being processes when the error occurred is: View "public.v_cos_master_year_count" Column | Type | Modifiers -------------+-------------------+----------- collection | text | year | character varying | entry_count | bigint | View definition: SELECT 'cos'::text AS collection, cos_master.year_published AS "year", count(cos_master.id) AS entry_count FROM cos_master GROUP BY cos_master.year_published, cos_master.collection ORDER BY cos_master.year_published; There are a number of views in this particular database where "collection" is used in this way and they all get this warning. Text is a valid type, albeit nonstandard. What is triggering this warning? Thanks, Carol