Thread

  1. Re: [HACKERS] grant broken

    Peter T Mount <psqlhack@maidast.demon.co.uk> — 1998-01-10T12:08:41Z

    On Fri, 9 Jan 1998, Bruce Momjian wrote:
    
    > > 
    > > On Fri, 9 Jan 1998, Bruce Momjian wrote:
    > > 
    > > > How about a new initdb?
    > > 
    > > That was the first thing I tried. When that didn't work, I removed the
    > > entire distribution, resynced the source with cvs, and recompiled.
    > > 
    > > When checking that the large object fix wasn't to blame, I did a fresh
    > > initdb again before testing.
    > 
    > 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.
    
    -- 
    Peter T Mount  petermount@earthling.net or pmount@maidast.demon.co.uk
    Main Homepage: http://www.demon.co.uk/finder
    Work Homepage: http://www.maidstone.gov.uk Work EMail: peter@maidstone.gov.uk