Re: PostgresQL setup in hosted environment

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jochem van Dieten <jochemd(at)oli(dot)tudelft(dot)nl>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PostgresQL setup in hosted environment
Date: 2001-08-12 21:47:20
Message-ID: 1106.997652840@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jochem van Dieten <jochemd(at)oli(dot)tudelft(dot)nl> writes:
> - how would I grant select permissions to a user on tables in a specific
> database, while connected (as superuser) to a different database in the
> same cluster?
>
>> You wouldn't.

> I was under the impression that the relacl field in the pg_class table
> was just an array, so I could add items there.

You could do that (or just use GRANT/REVOKE to do it for you) ... *if*
you were in the right database. Since you're not, you have no access to
the pg_class table that you'd need to modify. Each database has its own
pg_class.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Digital Wokan 2001-08-12 21:56:25 Re: Enterprise Manager Client Software project
Previous Message Tom Lane 2001-08-12 21:38:05 Re: Bug with ALTER TABLE