Re: adding stuff to parser, question

From: Joshua Tolley <eggyknap(at)gmail(dot)com>
To: Grzegorz Jaskiewicz <gj(at)pointblue(dot)com(dot)pl>
Cc: pgsql-hackers Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: adding stuff to parser, question
Date: 2009-02-01 20:15:38
Message-ID: 20090201201537.GA6481@uber
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Feb 01, 2009 at 12:12:47AM +0000, Grzegorz Jaskiewicz wrote:
> On 1 Feb 2009, at 00:05, Joshua Tolley wrote:
>> to add new syntax, you might consider writing a function instead. This
>> function might take parameters such as the privilege to grant and the
>> user to
>> grant it to, and be called something like this:
>>
>> SELECT my_grant_function('someuser', 'someprivilege');
>
> Well, if you read my first post - I did wrote such a function, and it
> works just fine. But still - since that was in TODO, I figured I might
> give it a go.

Ah, that you did. Sorry. :)

- Josh

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Grzegorz Jaskiewicz 2009-02-01 20:25:39 Re: add_path optimization
Previous Message Robert Haas 2009-02-01 19:13:15 Re: add_path optimization