diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-07-06 14:53:16 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-07-06 14:53:42 -0400 |
commit | cb1cc305bc349338f75a549c36041b4c91cf779f (patch) | |
tree | f0bcbdd58dd7d7d77ed856e970f4cb9a78cfc922 /src/backend/commands/trigger.c | |
parent | f8bd267d35503109255c99eae96c86ba8ba1b56f (diff) | |
download | postgresql-cb1cc305bc349338f75a549c36041b4c91cf779f.tar.gz postgresql-cb1cc305bc349338f75a549c36041b4c91cf779f.zip |
Remove assumptions that not-equals operators cannot be in any opclass.
get_op_btree_interpretation assumed this in order to save some duplication
of code, but it's not true in general anymore because we added <> support
to btree_gist. (We still assume it for btree opclasses, though.)
Also, essentially the same logic was baked into predtest.c. Get rid of
that duplication by generalizing get_op_btree_interpretation so that it
can be used by predtest.c.
Per bug report from Denis de Bernardy and investigation by Jeff Davis,
though I didn't use Jeff's patch exactly as-is.
Back-patch to 9.1; we do not support this usage before that.
Diffstat (limited to 'src/backend/commands/trigger.c')
0 files changed, 0 insertions, 0 deletions