From: Tom Lane <tgl@sss.pgh.pa.us>
To: jef peeraer <jef.peeraer@telenet.be>
Cc: pgsql-general@postgresql.org
Subject: Re: permission denied for schema
Date: Fri, 22 Jun 2007 19:56:19 -0400
Message-ID: <29799.1182556579@sss.pgh.pa.us> (raw)
In-Reply-To: <467C496F.1070309@telenet.be>
References: <467C3821.7080306@telenet.be>
<28403.1182549517@sss.pgh.pa.us>
<467C496F.1070309@telenet.be>
jef peeraer <jef.peeraer@telenet.be> writes:
> Tom Lane schreef:
>> That's a foreign-key check, which is supposed to be done as the owner of
>> the table. You did not show us who owns table clienten, but I think
>> that role must be missing the intended(?) membership in deterp_group.
> registratie=# \z deterp.clienten;
> Access privileges for database "registratie"
> Schema | Name | Type | Access privileges
> --------+----------+-------+------------------------------------------
> deterp | clienten | table | {jpe=arwdxt/jpe,deterp_group=arwdxt/jpe}
Hmm. This doesn't actually say so, but I think that jpe must be the
owner of clienten, and he's also the owner of the schema. Which makes
the failure really darn odd.
I tried to reproduce the situation on 8.1.9 and couldn't see any
problem. I do not see anything in the 8.1 CVS history that looks
related, but it's slightly possible this is a bug that's fixed between
8.1.3 and 8.1.9 (and even if that is not the case, you really really
ought to update anyway).
Would you see if the problem recurs if you do a pg_dump -s and load the
schema into a fresh database? If it doesn't, perhaps there is some
weird corruption in the ACL entries. If it is reproducible, please post
the complete schema (or enough of it to reproduce the problem) to
pgsql-bugs.
regards, tom lane
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-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, jef.peeraer@telenet.be
Subject: Re: permission denied for schema
In-Reply-To: <29799.1182556579@sss.pgh.pa.us>
References: <467C3821.7080306@telenet.be> <28403.1182549517@sss.pgh.pa.us> <467C496F.1070309@telenet.be> <29799.1182556579@sss.pgh.pa.us>
* 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