Make operators have their own comments separate from those of the
Tom Lane <tgl@sss.pgh.pa.us>
Make operators have their own comments separate from those of the underlying function; but cause psql's \do to show the underlying function's comment if the operator has no comment of its own, to preserve the useful functionality of the original behavior. Also, implement COMMENT ON SCHEMA. Patch from Rod Taylor.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/comment.sgml | modified | +36 −18 |
| src/backend/commands/comment.c | modified | +67 −29 |
| src/backend/parser/gram.y | modified | +2 −1 |
| src/bin/pg_dump/pg_dump.c | modified | +9 −9 |
| src/bin/psql/describe.c | modified | +5 −5 |