Re: Follow-up OpenOffice and Postgres 7.3.2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: aklaver(at)attbi(dot)com
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Follow-up OpenOffice and Postgres 7.3.2
Date: 2003-03-19 05:53:42
Message-ID: 4379.1048053222@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Adrian Klaver <aklaver(at)attbi(dot)com> writes:
> I finally tracked down the problem. You have to use the GRANT command to set
> privileges on your table. Postgres assumes the table owner has all rights but
> does do not write that info into the access control list of pg_class. It
> would seem the JDBC driver looks to pg_class for information on permissions.

Hm. The backend treats NULL in pg_class.relacl as meaning the default
permissions (owner = all, everyone else = none). I wonder whether jdbc
gets that right?

regards, tom lane

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Paul Sorenson 2003-03-19 08:35:03 auto generated keys
Previous Message Bruce Momjian 2003-03-19 04:05:34 Re: WARNING on setAutoCommit