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 693F9D1C7F1 for ; Mon, 21 Jul 2003 13:26:29 +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 29929-04 for ; Mon, 21 Jul 2003 13:26:27 +0000 (GMT) Received: from mbx.unige.ch (mbx.unige.ch [129.194.9.229]) by svr1.postgresql.org (Postfix) with ESMTP id 53720D1C7F0 for ; Mon, 21 Jul 2003 10:26:27 -0300 (ADT) Received: from CONVERSION-DAEMON.mbx.unige.ch by mbx.unige.ch (PMDF V6.2-X3 #30614) id <0HID00I01MO6GA@mbx.unige.ch> for pgsql-admin@postgresql.org; Mon, 21 Jul 2003 15:26:31 +0200 (MEST) Received: from Swip ([129.194.16.99]) by mbx.unige.ch (PMDF V6.2-X3 #30614) with ESMTP id <0HID00I34MO5AZ@mbx.unige.ch> for pgsql-admin@postgresql.org; Mon, 21 Jul 2003 15:26:29 +0200 (MEST) Date: Mon, 21 Jul 2003 15:26:28 +0200 From: Olivier Reuland Subject: common_fields: permission denied (more) In-reply-to: To: pgsql-admin@postgresql.org Message-id: <000001c34f8b$b12a6560$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/210 X-Sequence-Number: 9550 Just to add more info I made a "pg_dumpall | grep user1" to be sure that the user was really created, which sounds to be the case : CREATE USER user1 WITH SYSID 100 NOCREATEDB NOCREATEUSER; > 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 >