pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Guillaume Lelarge <guillaume@lelarge.info>
To: Jaroslav Záruba <jaroslav.zaruba@gmail.com>
Cc: PostgreSQL - mailing list <pgsql-admin@postgresql.org>
Subject: Re: Why pg_dump 'trust' authentication fails under root and works under another user?
Date: Thu, 24 Mar 2011 11:47:43 +0100
Message-ID: <4D8B214F.4060406@lelarge.info> (raw)
In-Reply-To: <AANLkTi=qenDyJkHTEK2KDBQSdZFw_sTdNi_j61h26br=@mail.gmail.com>
References: <AANLkTikR5sO5zYYRpNOTLUS+jUdrJKUT-vPTMgm4b88=@mail.gmail.com>
	<4D8AFABB.1010002@lelarge.info>
	<AANLkTimOCKtEDALf+TtRUTk+JAjsgRShJb0GA90v5F3p@mail.gmail.com>
	<4D8B0758.8020707@lelarge.info>
	<AANLkTi=VQQiODWtE7P8mWLiG6M5KswidQiMFZa+P8T=c@mail.gmail.com>
	<4D8B0E9B.9050206@lelarge.info>
	<AANLkTindQcU+LEoVOfkn2-AtTE=8fzPS746RTDdQDuNS@mail.gmail.com>
	<4D8B1C09.4050609@lelarge.info>
	<AANLkTi=qenDyJkHTEK2KDBQSdZFw_sTdNi_j61h26br=@mail.gmail.com>

Le 24/03/2011 11:32, Jaroslav Záruba a écrit :
> You nailed it! :)
> 
> My regular user has .pgpass, root does not.
> When I remove the --host (and --port) arguments it works like charm. :)
> 
> Thanks a lot, Guillaume!
> 

You're welcome :)


-- 
Guillaume
 http://www.postgresql.fr
 http://dalibo.com



view thread (11+ messages)

Message-ID: <4D8B214F.4060406@lelarge.info>
Permalink:  ../4D8B214F.4060406@lelarge.info/
Also on:    postgresql.org/message-id/4D8B214F.4060406@lelarge.info

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: guillaume@lelarge.info, jaroslav.zaruba@gmail.com
  Subject: Re: Why pg_dump 'trust' authentication fails under root and works under another user?
  In-Reply-To: <4D8B214F.4060406@lelarge.info>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox