pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #6768: Failure in OBDC
4+ messages / 3 participants
[nested] [flat]

* BUG #6768: Failure in OBDC
@ 2012-07-26 23:52  fabio.lunkes@gmail.com
  0 siblings, 1 reply; 4+ messages in thread

From: fabio.lunkes@gmail.com @ 2012-07-26 23:52 UTC (permalink / raw)
  To: pgsql-bugs

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.




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #6768: Failure in OBDC
@ 2012-07-27 13:56  Craig Ringer <ringerc@ringerc.id.au>
  parent: fabio.lunkes@gmail.com
  0 siblings, 1 reply; 4+ messages in thread

From: Craig Ringer @ 2012-07-27 13:56 UTC (permalink / raw)
  To: fabio.lunkes@gmail.com; +Cc: pgsql-bugs

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

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #6768: Failure in OBDC
@ 2012-07-30 23:31  Fábio Hentz Lunkes <fabio.lunkes@gmail.com>
  parent: Craig Ringer <ringerc@ringerc.id.au>
  0 siblings, 1 reply; 4+ messages in thread

From: Fábio Hentz Lunkes @ 2012-07-30 23:31 UTC (permalink / raw)
  To: pgsql-bugs

Sorry, all right. It was my mistake.

2012/7/27 Craig Ringer <ringerc@ringerc.id.au>

>  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 perform SELECT, 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
>



-- 
    Att. Fábio Hentz Lunkes
    Cientista da Computação

Celular: 54 9178 2435
Telefone: 54 3701 2435

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #6768: Failure in OBDC
@ 2012-07-31 04:02  Craig Ringer <ringerc@ringerc.id.au>
  parent: Fábio Hentz Lunkes <fabio.lunkes@gmail.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Craig Ringer @ 2012-07-31 04:02 UTC (permalink / raw)
  To: Fábio Hentz Lunkes <fabio.lunkes@gmail.com>; +Cc: pgsql-bugs

On 07/31/2012 07:31 AM, Fábio Hentz Lunkes wrote:
> Sorry, all right. It was my mistake.
No worries - thanks for writing back to confirm. That way anyone else 
having the issue later will have some idea where to look (or not look at 
least).

--
Craig Ringer

^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2012-07-31 04:02 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-07-26 23:52 BUG #6768: Failure in OBDC fabio.lunkes@gmail.com
2012-07-27 13:56 ` Craig Ringer <ringerc@ringerc.id.au>
2012-07-30 23:31   ` Fábio Hentz Lunkes <fabio.lunkes@gmail.com>
2012-07-31 04:02     ` Craig Ringer <ringerc@ringerc.id.au>

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