diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-03-25 12:33:16 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-03-25 12:33:16 -0400 |
commit | c94959d4110a1965472956cfd631082a96f64a84 (patch) | |
tree | 603f7821778785ae423809a2a1d7ed4b0148d68b /src/backend/parser/parse_clause.c | |
parent | d543170f2fdd6d9845aaf91dc0f6be7a2bf0d9e7 (diff) | |
download | postgresql-c94959d4110a1965472956cfd631082a96f64a84.tar.gz postgresql-c94959d4110a1965472956cfd631082a96f64a84.zip |
Fix DROP OPERATOR to reset oprcom/oprnegate links to the dropped operator.
This avoids leaving dangling links in pg_operator; which while fairly
harmless are also unsightly.
While we're at it, simplify OperatorUpd, which went through
heap_modify_tuple for no very good reason considering it had already made
a tuple copy it could just scribble on.
Roma Sokolov, reviewed by Tomas Vondra, additional hacking by Robert Haas
and myself.
Diffstat (limited to 'src/backend/parser/parse_clause.c')
0 files changed, 0 insertions, 0 deletions