Re: Moving data from FreeBSD to Red Hat - Mailing list pgsql-general

From Tom Lane
Subject Re: Moving data from FreeBSD to Red Hat
Date
Msg-id 3203.1022385108@sss.pgh.pa.us
Whole thread Raw
In response to Moving data from FreeBSD to Red Hat  (Francisco Reyes <lists@natserv.com>)
Responses Re: Moving data from FreeBSD to Red Hat
Re: Moving data from FreeBSD to Red Hat
List pgsql-general
Francisco Reyes <lists@natserv.com> writes:
> bash-2.05$ pg_restore -d temp -U postgres -S postgres bestpal.dump
> pg_restore: [archiver (db)] could not reconnect to database: FATAL 1:
> IDENT authentication failed for user "pgsql"

Try it with --use-set-session-authorization.  Alternatively, back off
the pg_hba setting to "trust" (or something pretty weak anyway) to run
the restore.

I'd like to see --use-set-session-authorization become the default
(maybe even the only method) in 7.3.

            regards, tom lane

pgsql-general by date:

Previous
From: Alan Wayne
Date:
Subject: simple e-mail question.
Next
From: Tom Lane
Date:
Subject: Re: simple e-mail question.