Operator Comments

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: Operator Comments
Date: 2002-05-12 21:03:07
Message-ID: 214E9C0A75426D47A876A2FD8A07426E9755@salem.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Rod Taylor 2002-05-12 21:35:55 Re: TRUNCATE
Previous Message Tom Lane 2002-05-12 20:33:47 Re: SRF patch (was Re: [HACKERS] troubleshooting pointers)