Re: Grant all

From: GH <grasshacker(at)over-yonder(dot)net>
To: Aarmel <pgadmin(at)animated(dot)net(dot)au>
Cc: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Grant all
Date: 2000-12-08 01:49:55
Message-ID: 20001207194955.A87535@over-yonder.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Fri, Dec 08, 2000 at 11:34:52AM +1100, some SMTP stream spewed forth:
> How can i grant access to "all" tables in a database.

I believe that such must be done per-table.

i.e.
grant all on table1 to blah;
grant all on table2 to blah;
...

>
> e.g. grant all on databasename to username.
>
> also how to make postmaster timeout. It seems as though the connections
> are not shutting down.

Are you using persistent connections?
-> Are you using PHP?
if(yes)
{
There is a bit of surprise regarding php's use of persistent
connections. php opens a persistent connection for each Apache
*process*. So, 10 processes -> 10 backends.

Persistent connections do not timeout in Postgres.
}

gh

>

In response to

  • Grant all at 2000-12-08 00:34:52 from Aarmel

Browse pgsql-novice by date

  From Date Subject
Next Message Joel Burton 2000-12-08 02:38:58 Re: pg_dump ORDER BY
Previous Message Joel Burton 2000-12-08 01:48:15 Re: Install order