Re: comment doesn't accept expressions returning text

From: Michael Glaesemann <grzm(at)myrealbox(dot)com>
To: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: comment doesn't accept expressions returning text
Date: 2005-11-24 03:01:07
Message-ID: 9F8708BD-D5A5-4474-9996-2E5F5261D01D@myrealbox.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Thanks for the feedback, Andrew.

On Nov 24, 2005, at 12:02 , Andrew Dunstan wrote:

> To change this would involve changing the grammar.

I thought it might—and am thinking it might be all that would need
changing.

> You could possibly write a stored proc that manipulated pg_description
> directly.

I thought about that, and thought that I'd rather make a more general
fix if there weren't any objections to allowing COMMENT ON to accept
any text input (rather than just a string). Given the option, I'd
rather not have to carry around a function to do this.

Michael Glaesemann
grzm myrealbox com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2005-11-24 03:02:46 Re: comment doesn't accept expressions returning text
Previous Message Michael Glaesemann 2005-11-24 02:03:19 comment doesn't accept expressions returning text