Operator Comments - Mailing list pgsql-hackers

From Dave Page
Subject Operator Comments
Date
Msg-id 214E9C0A75426D47A876A2FD8A07426E9755@salem.vale-housing.co.uk
Whole thread Raw
List pgsql-hackers
During some testing of pgAdmin's internals whilst adding schema support
I noticed that altering or setting a comment on an operator actually
sets the comment on the operator function.

In other words, change the comment on testschema.+(int4, int4) and the
comment is actually set on the function pg_catalog.int4pl(int4, int4).

Is this behaviour correct? I would have expected the pg_description
entry for the comment to reference the oid of the operator itself, so
each operator and int4pl(int4, int4) can all have distinct comments.

Regards Dave.


pgsql-hackers by date:

Previous
From: "Joel Burton"
Date:
Subject: Re: TRUNCATE
Next
From: "Rod Taylor"
Date:
Subject: Re: TRUNCATE