Thread: missing COMMENT ON objects

missing COMMENT ON objects

From
Christopher Kings-Lynne
Date:
Hi,

I notice you cannot COMMENT ON the following:

* Cast
* Conversion
* Operator class

Docs:
http://developer.postgresql.org/docs/postgres/sql-comment.html

Is that a deliberate omission, or is it an oversight?  If it's 
deliberate, it seems kind of arbitrary.  Or have the docs just not been 
updated?

Chris





Re: missing COMMENT ON objects

From
Tom Lane
Date:
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
> I notice you cannot COMMENT ON the following:
> * Cast
> * Conversion
> * Operator class
> Is that a deliberate omission, or is it an oversight?

Unimplemented feature AFAIR.  BTW, if you feel like doing something
about this, COMMENT ON LARGE OBJECT <oid> would be good too.
        regards, tom lane


Re: missing COMMENT ON objects

From
Christopher Kings-Lynne
Date:
>>I notice you cannot COMMENT ON the following:
>>* Cast
>>* Conversion
>>* Operator class
>>Is that a deliberate omission, or is it an oversight?
> 
> 
> Unimplemented feature AFAIR.  BTW, if you feel like doing something
> about this, COMMENT ON LARGE OBJECT <oid> would be good too.

* COMMENT ON [ CAST | CONVERSION | OPERATOR CLASS | LARGE OBJECT ]

Bruce - want to make this a TODO?  May as well assign it to me - I'll 
have a play with it.  I assume this is a post-7.4 item?

Chris




Re: missing COMMENT ON objects

From
Bruce Momjian
Date:
Added, yes, a 7.5 item.

---------------------------------------------------------------------------

Christopher Kings-Lynne wrote:
> >>I notice you cannot COMMENT ON the following:
> >>* Cast
> >>* Conversion
> >>* Operator class
> >>Is that a deliberate omission, or is it an oversight?
> > 
> > 
> > Unimplemented feature AFAIR.  BTW, if you feel like doing something
> > about this, COMMENT ON LARGE OBJECT <oid> would be good too.
> 
> * COMMENT ON [ CAST | CONVERSION | OPERATOR CLASS | LARGE OBJECT ]
> 
> Bruce - want to make this a TODO?  May as well assign it to me - I'll 
> have a play with it.  I assume this is a post-7.4 item?
> 
> Chris
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
>                http://www.postgresql.org/docs/faqs/FAQ.html
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


Re: missing COMMENT ON objects

From
Christopher Kings-Lynne
Date:
>> Unimplemented feature AFAIR.  BTW, if you feel like doing something
>> about this, COMMENT ON LARGE OBJECT <oid> would be good too.
> 
> 
> * COMMENT ON [ CAST | CONVERSION | OPERATOR CLASS | LARGE OBJECT ]
> 
> Bruce - want to make this a TODO?  May as well assign it to me - I'll 
> have a play with it.  I assume this is a post-7.4 item?

Actually, what about COMMENT ON LANGUAGE as well?

Chris




Re: missing COMMENT ON objects

From
Bruce Momjian
Date:
Added.

---------------------------------------------------------------------------

Christopher Kings-Lynne wrote:
> 
> >> Unimplemented feature AFAIR.  BTW, if you feel like doing something
> >> about this, COMMENT ON LARGE OBJECT <oid> would be good too.
> > 
> > 
> > * COMMENT ON [ CAST | CONVERSION | OPERATOR CLASS | LARGE OBJECT ]
> > 
> > Bruce - want to make this a TODO?  May as well assign it to me - I'll 
> > have a play with it.  I assume this is a post-7.4 item?
> 
> Actually, what about COMMENT ON LANGUAGE as well?
> 
> Chris
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073