postgresql/src/include/utils
Tom Lane cb1cc305bc 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.
2011-07-06 14:53:42 -04:00
..
.gitignore Avoid maintaining three separate copies of the error codes list. 2011-02-03 22:32:49 -05:00
acl.h Remove partial and undocumented GRANT .. FOREIGN TABLE support. 2011-04-25 16:39:18 -04:00
array.h Add FOREACH IN ARRAY looping to plpgsql. 2011-02-16 01:53:03 -05:00
ascii.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
attoptcache.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
builtins.h pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
bytea.h pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
cash.h Add casts from int4 and int8 to numeric. 2011-04-05 09:35:43 -04:00
catcache.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
combocid.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
date.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
datetime.h pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
datum.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
dynahash.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
dynamic_loader.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
elog.h Use a macro variable PG_PRINTF_ATTRIBUTE for the style used for checking printf type functions. 2011-04-28 10:56:14 -04:00
fmgrtab.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
formatting.h Per-column collation support 2011-02-08 23:04:18 +02:00
geo_decls.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
guc.h Split PGC_S_DEFAULT into two values, for true boot_val vs computed default. 2011-05-11 19:57:38 -04:00
guc_tables.h Revise the API for GUC variable assign hooks. 2011-04-07 00:12:02 -04:00
help_config.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
hsearch.h Pgindent run before 9.1 beta2. 2011-06-09 14:32:50 -04:00
inet.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
int8.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
inval.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
logtape.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
lsyscache.h Remove assumptions that not-equals operators cannot be in any opclass. 2011-07-06 14:53:42 -04:00
memutils.h Fix obsolete comment. 2011-02-15 13:27:54 -05:00
nabstime.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
numeric.h pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
palloc.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
pg_crc.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
pg_locale.h Fix char2wchar/wchar2char to support collations properly. 2011-04-23 12:35:41 -04:00
pg_lzcompress.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
pg_rusage.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
plancache.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
portal.h pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
ps_status.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
rbtree.h pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
rel.h pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
relcache.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
relmapper.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
resowner.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
selfuncs.h Pgindent run before 9.1 beta2. 2011-06-09 14:32:50 -04:00
snapmgr.h Rearrange snapshot handling to make rule expansion more consistent. 2011-02-28 23:28:06 -05:00
snapshot.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
spccache.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
syscache.h Per-column collation support 2011-02-08 23:04:18 +02:00
timestamp.h Remove duplicate time-based macros recently added. 2011-03-14 10:40:14 -04:00
tqual.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
tuplesort.h Pass collations to functions in FunctionCallInfoData, not FmgrInfo. 2011-04-12 19:19:24 -04:00
tuplestore.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
typcache.h Fix failure to check whether a rowtype's component types are sortable. 2011-06-03 15:39:17 -04:00
tzparser.h Revise the API for GUC variable assign hooks. 2011-04-07 00:12:02 -04:00
uuid.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
varbit.h pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
xml.h pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00