Re: creating a dump - Mailing list pgsql-general

From Tom Lane
Subject Re: creating a dump
Date
Msg-id 20674.1019920490@sss.pgh.pa.us
Whole thread Raw
In response to creating a dump  ("Hegyvari Krisztian" <Hegyvari.Krisztian@ardents.hu>)
List pgsql-general
"Hegyvari Krisztian" <Hegyvari.Krisztian@ardents.hu> writes:
> I try to dump my databases using pg_dumpall or pg_dump and I get the following error:

> \connect bic postgres
> getAggregates(): SELECT failed.  Explanation from backend: 'ERROR:  Attribute 'aggtransfn1' not found
> '.

I think you are trying to use a 7.0 or older pg_dump against a 7.1 or
newer database.  Or maybe it was 7.2 where we changed the layout of
pg_aggregate.  Anyway, this is a version skew problem.

(Newer versions of pg_dump do complain if the server version isn't one
they recognize, btw.  But you are invoking an old one :-()

            regards, tom lane

pgsql-general by date:

Previous
From: Jochem van Dieten
Date:
Subject: Re: delete column
Next
From: Tom Lane
Date:
Subject: Re: requesting features in PostgreSQL