pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Olivier Reuland <olivier.reuland@adm.unige.ch>
To: pgsql-admin@postgresql.org
Subject: common_fields: permission denied
Date: Mon, 21 Jul 2003 14:55:49 +0200
Message-ID: <000301c34f87$6931da80$6310c281@Swip> (raw)

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




view thread (2+ messages)  latest in thread

Message-ID: <000301c34f87$6931da80$6310c281@Swip>
Permalink:  ../000301c34f87$6931da80$6310c281@Swip/
Also on:    postgresql.org/message-id/000301c34f87$6931da80$6310c281@Swip

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: olivier.reuland@adm.unige.ch
  Subject: Re: common_fields: permission denied
  In-Reply-To: <000301c34f87$6931da80$6310c281@Swip>
  References: <000301c34f87$6931da80$6310c281@Swip>

* 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