Re: Allow COMMENT ON to accept an expression rather than just a string - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: Allow COMMENT ON to accept an expression rather than just a string
Date
Msg-id 49E0E439.9000701@agliodbs.com
Whole thread Raw
In response to Re: Allow COMMENT ON to accept an expression rather than just a string  (Jaime Casanova <jcasanov@systemguards.com.ec>)
List 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@oryx.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


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Allow COMMENT ON to accept an expression rather than just a string
Next
From: Tom Lane
Date:
Subject: Re: Allow COMMENT ON to accept an expression rather than just a string