Search Postgresql Archives

Re: Fixing the loss of 'template1'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Martin Gregorie <martin@xxxxxxxxxxxx> writes:
> On Wed, 2012-03-07 at 10:50 -0500, Tom Lane wrote:
>> Oh, time for a new theory then.  What's the *exact* error message you
>> were getting from pg_dump?  Do you get the same from a manual attempt to
>> connect to template1?

> Yes:

> # psql -d template1 -U postgres
> psql: FATAL:  Peer authentication failed for user "postgres"

Oh, well, that hasn't got anything to do with the database permissions,
nor template1 for that matter.  That says you're trying to log in as
postgres and the OS reports that you're not postgres.  You either need
to su to postgres or change your authentication method.

			regards, tom lane

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux