Re: Error message on pg_dumpall

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Dan Harrington <dan(at)tudan(dot)net>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Error message on pg_dumpall
Date: 2001-03-03 10:38:35
Message-ID: Pine.LNX.4.30.0103031134500.937-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://yi.org/peter-e/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2001-03-03 10:44:41 Re: how to vacuum from cron?
Previous Message Peter Eisentraut 2001-03-03 10:34:09 Re: pg_hba.conf file