Re: [HACKERS] grant broken

From: "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>
To: Peter T Mount <psqlhack(at)maidast(dot)demon(dot)co(dot)uk>
Cc: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] grant broken
Date: 1998-01-10 16:34:25
Message-ID: 34B7A311.C35B4454@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > Can you give me a test case? Is it \z on an empty database, or does a
> > table have to have a specific permissoin?
>
> It's a test database, with a single table in it, and two users (the DBA,
> and a normal user).
>
> One of the methods in JDBC's DatabaseMetaData returns details about the
> rights granted on the database, so to test the method, I was setting up
> the normal user with update rights to the table, so I had something to
> work on.
>
> The backend simply dies when ever the grant statement is entered
> correctly.

If I understood the test case you published, you are specifying to the grant
command the database "test", not a table within the database. The man page for
grant is not very specific, but is this supposed to work?

- Tom

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Vadim B. Mikheev 1998-01-10 17:19:08 Re: subselects
Previous Message Goran Thyni 1998-01-10 15:24:52 Re: [HACKERS] DefaultHost