Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 63BB51337B61 for ; Thu, 24 Mar 2011 06:28:14 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 83176-08 for ; Thu, 24 Mar 2011 09:27:56 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sd-17937.dedibox.fr (sd-17937.dedibox.fr [88.191.100.74]) by mail.postgresql.org (Postfix) with ESMTP id 4CEA11337B4E for ; Thu, 24 Mar 2011 06:27:56 -0300 (ADT) Received: from [192.168.10.3] (ASte-Genev-Bois-153-1-85-140.w81-48.abo.wanadoo.fr [81.48.35.140]) by sd-17937.dedibox.fr (Postfix) with ESMTPA id 01DB73B8F5; Thu, 24 Mar 2011 10:27:55 +0100 (CET) Message-ID: <4D8B0E9B.9050206@lelarge.info> Date: Thu, 24 Mar 2011 10:27:55 +0100 From: Guillaume Lelarge User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); fr; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: =?UTF-8?B?SmFyb3NsYXYgWsOhcnViYQ==?= CC: PostgreSQL - mailing list Subject: Re: Why pg_dump 'trust' authentication fails under root and works under another user? References: <4D8AFABB.1010002@lelarge.info> <4D8B0758.8020707@lelarge.info> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201103/225 X-Sequence-Number: 37097 Le 24/03/2011 10:05, Jaroslav Záruba a écrit : > My pg_hba.conf looks like this: > > local all postgres trust > host all postgres 192.168.1.0/24 md5 > local all all ident > host all all 127.0.0.1/32 md5 > host all all ::1/128 md5 > > Still lacks the complete pg_dump command lines (both of them, the good and the bad one). -- Guillaume http://www.postgresql.fr http://dalibo.com