Re: Allow COMMENT ON to accept an expression rather than just a string

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>
Cc: Abhijit Menon-Sen <ams(at)oryx(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Allow COMMENT ON to accept an expression rather than just a string
Date: 2009-04-11 18:40:57
Message-ID: 49E0E439.9000701@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 4/10/09 10:13 PM, Jaime Casanova wrote:
> On Fri, Apr 10, 2009 at 11:47 PM, Abhijit Menon-Sen<ams(at)oryx(dot)com> wrote:
>> Hi.
>>
>> There's a TODO item about making COMMENT ON accept an expression.
>
> really? what's the use case for that?
>

Easy: if you want to add comments to database objects generated in
stored procedures or simple SQL scripts. I can see wanting it. Not a
critical feature, but if someone wants to write the code? Sure.

--
Josh Berkus
PostgreSQL Experts Inc.
www.pgexperts.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-04-11 18:44:39 Re: Allow COMMENT ON to accept an expression rather than just a string
Previous Message Pavel Stehule 2009-04-11 18:16:53 Re: Allow COMMENT ON to accept an expression rather than just a string