X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.192]) by svr1.postgresql.org (Postfix) with ESMTP id ECC6DD1C4DC for ; Mon, 21 Jul 2003 12:55:53 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr4.postgresql.org [64.117.224.192]) (amavisd-new, port 10024) with ESMTP id 27081-02 for ; Mon, 21 Jul 2003 12:55:49 +0000 (GMT) Received: from mbx.unige.ch (mbx.unige.ch [129.194.9.229]) by svr1.postgresql.org (Postfix) with ESMTP id DB6DBD1C4C7 for ; Mon, 21 Jul 2003 09:55:48 -0300 (ADT) Received: from CONVERSION-DAEMON.mbx.unige.ch by mbx.unige.ch (PMDF V6.2-X3 #30614) id <0HID00B01L93AP@mbx.unige.ch> for pgsql-admin@postgresql.org; Mon, 21 Jul 2003 14:55:52 +0200 (MEST) Received: from Swip ([129.194.16.99]) by mbx.unige.ch (PMDF V6.2-X3 #30614) with ESMTP id <0HID00AENL92EZ@mbx.unige.ch> for pgsql-admin@postgresql.org; Mon, 21 Jul 2003 14:55:51 +0200 (MEST) Date: Mon, 21 Jul 2003 14:55:49 +0200 From: Olivier Reuland Subject: common_fields: permission denied To: pgsql-admin@postgresql.org Message-id: <000301c34f87$6931da80$6310c281@Swip> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Mailer: Microsoft Outlook, Build 10.0.4510 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal X-Comment: This message was scanned against viruses by mbx.unige.ch. X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/202 X-Sequence-Number: 9542 Hi there, I have a problem accessing my postgres database when using a specific user... If I run and pg_dumpall using the postgres linux user I have no problem. Then I tried to add a new user only for one database (let say "user1" and "db1"). My pg_hba.conf looks like : local all all trust host all all 127.0.0.1 255.255.255.255 trust host all all 0.0.0.0 255.255.255.255 reject When I try to run "./pg_dump --username=user1 --password db1" I have an error saying : pg_dump: Attempt to lock table "common_fields" failed. ERROR: common_fields: permission denied Any idea ? Thanks Oliver