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:16 -0400 |
commit | 14f67192c25a130a354f3e3e6db3dfd49d2f5c86 (patch) | |
tree | eca994c83e70ffa64b085f6ca316e0056ffb23aa /src/backend/commands/async.c | |
parent | c7f23494c1103f87bcf1ef7cbfcd626e73edb337 (diff) | |
download | postgresql-14f67192c25a130a354f3e3e6db3dfd49d2f5c86.tar.gz postgresql-14f67192c25a130a354f3e3e6db3dfd49d2f5c86.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/async.c')
0 files changed, 0 insertions, 0 deletions