From f45df8c0144005739d09387cb594baaaa08295a6 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 26 May 2003 00:11:29 +0000 Subject: Cause CHAR(n) to TEXT or VARCHAR conversion to automatically strip trailing blanks, in hopes of reducing the surprise factor for newbies. Remove redundant operators for VARCHAR (it depends wholly on TEXT operations now). Clean up resolution of ambiguous operators/functions to avoid surprising choices for domains: domains are treated as equivalent to their base types and binary-coercibility is no longer considered a preference item when choosing among multiple operators/functions. IsBinaryCoercible now correctly reflects the notion that you need *only* relabel the type to get from type A to type B: that is, a domain is binary-coercible to its base type, but not vice versa. Various marginal cleanup, including merging the essentially duplicate resolution code in parse_func.c and parse_oper.c. Improve opr_sanity regression test to understand about binary compatibility (using pg_cast), and fix a couple of small errors in the catalogs revealed thereby. Restructure "special operator" handling to fetch operators via index opclasses rather than hardwiring assumptions about names (cleans up the pattern_ops stuff a little). --- contrib/array/array_iterator.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'contrib/array/array_iterator.h') diff --git a/contrib/array/array_iterator.h b/contrib/array/array_iterator.h index c85d68f27ac..75cfba07dd7 100644 --- a/contrib/array/array_iterator.h +++ b/contrib/array/array_iterator.h @@ -9,11 +9,6 @@ int32 array_all_texteq(ArrayType *array, void *value); int32 array_textregexeq(ArrayType *array, void *value); int32 array_all_textregexeq(ArrayType *array, void *value); -int32 array_varchareq(ArrayType *array, void *value); -int32 array_all_varchareq(ArrayType *array, void *value); -int32 array_varcharregexeq(ArrayType *array, void *value); -int32 array_all_varcharregexeq(ArrayType *array, void *value); - int32 array_bpchareq(ArrayType *array, void *value); int32 array_all_bpchareq(ArrayType *array, void *value); int32 array_bpcharregexeq(ArrayType *array, void *value); -- cgit v1.2.3