Re: GRANT ON ALL IN schema

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Petr Jelinek <pjmodos(at)pjmodos(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: GRANT ON ALL IN schema
Date: 2009-08-20 19:06:04
Message-ID: 20090820190604.GK6261@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Petr Jelinek wrote:

> The implementation as I see it would create function in pg_temp
> namespace, call it and then drop it. Any other implementation would
> imho mean rewriting procedure language api.

That's really ugly. It'll cause catalog bloat with every execution.
I think it would be acceptable to have a new column in pg_language that
pointed to an anonymous block execute function. Languages that do not
define this function cannot use this new feature.

BTW I think you should start a new thread for this proposal. It has
diverged a bit from GRANT ON ALL.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ygor Degani 2009-08-20 19:22:39 Re: Duplicated Keys in PITR
Previous Message Petr Jelinek 2009-08-20 18:57:36 Re: GRANT ON ALL IN schema