Re: Error message on pg_dumpall - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: Error message on pg_dumpall
Date
Msg-id Pine.LNX.4.30.0103031134500.937-100000@peter.localdomain
Whole thread Raw
In response to Error message on pg_dumpall  ("Dan Harrington" <dan@tudan.net>)
List pgsql-general
Dan Harrington writes:

> bash# pg_dumpall -o >/tmp/db.out
> NOTICE:  Unrecognized variable client_encoding
> NOTICE:  Unrecognized variable client_encoding
> NOTICE:  Unrecognized variable client_encoding
> NOTICE:  Unrecognized variable client_encoding
> /usr/bin/pg_dumpall: createdb: command not found
> NOTICE:  Unrecognized variable client_encoding
> getInherits(): SELECT failed.  Explanation from backend: 'ERROR:  Attribute
> 'inhrel' not found
> '.
> pg_dump failed on goodsalt, exiting

Looks like you're running an old pg_dump with a newer server (or vice
versa, don't recall).  You need to use pg_dump from the release that your
server came from.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: pg_hba.conf file
Next
From: Peter Eisentraut
Date:
Subject: Re: how to vacuum from cron?