pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Carol Walter <walterc@indiana.edu>
To: pgsql-admin@postgresql.org
Subject: type unknown?
Date: Thu, 18 Sep 2008 16:29:03 -0400
Message-ID: <ECE4FB45-9CD3-429F-9743-1BDA1D771942@indiana.edu> (raw)

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




view thread (4+ messages)  latest in thread

Message-ID: <ECE4FB45-9CD3-429F-9743-1BDA1D771942@indiana.edu>
Permalink:  ../ECE4FB45-9CD3-429F-9743-1BDA1D771942@indiana.edu/
Also on:    postgresql.org/message-id/ECE4FB45-9CD3-429F-9743-1BDA1D771942@indiana.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: walterc@indiana.edu
  Subject: Re: type unknown?
  In-Reply-To: <ECE4FB45-9CD3-429F-9743-1BDA1D771942@indiana.edu>
  References: <ECE4FB45-9CD3-429F-9743-1BDA1D771942@indiana.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox