Re: Moving data from FreeBSD to Red Hat

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Francisco Reyes <lists(at)natserv(dot)com>
Cc: pgsql General List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Moving data from FreeBSD to Red Hat
Date: 2002-05-26 03:51:48
Message-ID: 3203.1022385108@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Francisco Reyes <lists(at)natserv(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-05-26 04:05:50 Re: simple e-mail question.
Previous Message Alan Wayne 2002-05-26 03:41:02 simple e-mail question.