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:
column "collection" has type "unknown"
DETAIL: Proceeding with relation creation anyway.
The view that was being processes when the error occurred is:
Column | Type | Modifiers
collection | text |
year | character varying |
entry_count | bigint |
SELECT 'cos'::text AS collection, cos_master.year_published AS
"year", count(cos_master.id) AS entry_count
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?
pgsql-admin by date
|Next:||From: Tom Lane||Date: 2008-09-18 20:57:30|
|Subject: Re: Idle Error invalid byte sequence |
|Previous:||From: Randall Wilson||Date: 2008-09-18 20:10:24|
|Subject: Re: Idle Error invalid byte sequence|