Re: BUG #1455: pg_dumpall fails

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Boris Makovecki" <boris(dot)makovecki(at)abak(dot)net>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1455: pg_dumpall fails
Date: 2005-02-03 06:02:01
Message-ID: 12431.1107410521@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Boris Makovecki" <boris(dot)makovecki(at)abak(dot)net> writes:
> I'm trying to migrate postgre DB from 7.4 to 8.0. When I start pg_dumpall
> (8.0) and connect it to 7.4 it fails with error:

> pg_dump: SQL command failed
> pg_dump: Error message from server: ERROR: cannot cast type "unknown" to
> text
> pg_dump: The command was: SELECT proretset, prosrc, probin, null::text as
> proargnames, provolatile, proisstrict, prosecdef, (SELECT lanname FROM
> pg_catalog.pg_language WHERE oid = prolang) as lanname FROM
> pg_catalog.pg_proc WHERE oid = '17926077'::pg_catalog.oid

Works fine for me, using a 7.4.7 server. Possibly you are hitting some
bug in an earlier 7.4.* release? (I don't see anything promising
looking in the CVS logs, though.) What *exactly* is the server version?

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2005-02-03 06:55:16 Re: BUG #1454: error in "select * from table where a1 like '%\%%' " ???
Previous Message Alvaro Herrera 2005-02-03 05:40:31 Re: BUG #1458: to_char is crazy