Thread: Language Comments

Language Comments

From
"Dave Page"
Date:
What is the preferred method (if there even is one) for modifying the
comment on a language?

I vaguely remember it being documented that it was stored in
pg_language.lancompiler and specified using the LANCOMPILER option to
CREATE LANGUAGE or by updating the record directly. pgAdmin has done it
this way for years but during a scouring of the docs today, I notice
that LANCOMPILER is no longer mentioned and there is no COMMENT ON
LANGUAGE to replace it.

Regards, Dave.


Re: Language Comments

From
Tom Lane
Date:
"Dave Page" <dpage@vale-housing.co.uk> writes:
> What is the preferred method (if there even is one) for modifying the
> comment on a language? 

There isn't one.  Certainly LANCOMPILER was *never* meant as a place to
store comments.

I suppose a COMMENT ON LANGUAGE facility could be added, but I can't get
very excited about it.
        regards, tom lane


Re: Language Comments

From
"Dave Page"
Date:

> -----Original Message-----
> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
> Sent: 14 June 2002 14:49
> To: Dave Page
> Cc: PostgreSQL-development
> Subject: Re: [HACKERS] Language Comments
>
>
> "Dave Page" <dpage@vale-housing.co.uk> writes:
> > What is the preferred method (if there even is one) for
> modifying the
> > comment on a language?
>
> There isn't one.  Certainly LANCOMPILER was *never* meant as
> a place to store comments.

It was in the docs until v1.14 (doc/src/sgml/ref/create_language.sgml)
when Peter removed it for 1.15 - I therefore made use of the feature in
pgAdmin...

I only noticed it wasn't there 'cos I was trawling the docs looking for
new/missing features to add to pgAdmin.

Regards, Dave.