From: Craig Ringer <ringerc@ringerc.id.au>
To: fabio.lunkes@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6768: Failure in OBDC
Date: Fri, 27 Jul 2012 21:56:07 +0800
Message-ID: <50129DF7.6070702@ringerc.id.au> (raw)
In-Reply-To: <E1SuXqm-0007Vi-07@wrigleys.postgresql.org>
References: <E1SuXqm-0007Vi-07@wrigleys.postgresql.org>
On 07/27/2012 07:52 AM, fabio.lunkes@gmail.com wrote:
> The following bug has been logged on the website:
>
> Bug reference: 6768
> Logged by: Fábio Hentz Lunkes
> Email address: fabio.lunkes@gmail.com
> PostgreSQL version: 9.1.0
> Operating system: Windows 7
> Description:
>
> Hellow.
> My teste to developer application with Microssoft Access, ODBC and Postgres.
> With grant selet in one field, other fields is revoke permissions, access in
> table with Microsoft Access is not possible. Failure is generate, to
> permission denied. In Microsoft MS Query, no error.
I think you'll need to explain this in a bit more detail, with:
- Table definitions
- The EXACT commands you ran
- The EXACT error messages
As far as I know, running:
GRANT SELECT on tablename(column) TO user;
shouldn't in any way restrict their existing rights, and the
documentation backs that up:
http://www.postgresql.org/docs/9.1/static/sql-grant.html
A user may performSELECT,INSERT, etc. on a column if he holds that
privilege for either the specific column or its whole table.
Granting the privilege at the table level and then revoking it for
one column will not do what you might wish: the table-level grant is
unaffected by a column-level operation.
... so I think you might need to show what's happening in a bit more detail.
Beware that there isn't a big Microsoft Access community here.
--
Craig Ringer
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-bugs@postgresql.org
Cc: ringerc@ringerc.id.au, fabio.lunkes@gmail.com
Subject: Re: BUG #6768: Failure in OBDC
In-Reply-To: <50129DF7.6070702@ringerc.id.au>
References: <E1SuXqm-0007Vi-07@wrigleys.postgresql.org> <50129DF7.6070702@ringerc.id.au>
* 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