From 8d9e025e7fcc68737d5a0e99b457417ed595af46 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 23 Mar 2003 05:14:37 +0000 Subject: Instead of storing pg_statistic stavalues entries as text strings, store them as arrays of the internal datatype. This requires treating the stavalues columns as 'anyarray' rather than 'text[]', which is not 100% kosher but seems to work fine for the purposes we need for pg_statistic. Perhaps in the future 'anyarray' will be allowed more generally. --- src/backend/utils/adt/selfuncs.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/backend/utils/adt/selfuncs.c') diff --git a/src/backend/utils/adt/selfuncs.c b/src/backend/utils/adt/selfuncs.c index 208b7eb2908..2a5ceb767f4 100644 --- a/src/backend/utils/adt/selfuncs.c +++ b/src/backend/utils/adt/selfuncs.c @@ -15,7 +15,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.133 2003/03/23 01:49:02 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.134 2003/03/23 05:14:36 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -1826,16 +1826,11 @@ mergejoinscansel(Query *root, Node *clause, /* * Now skip any binary-compatible relabeling; there can only be one level * since constant-expression folder eliminates adjacent RelabelTypes. - * - * XXX can't enable this quite yet, it exposes regproc uncertainty problems - * in regression tests. FIXME soon. */ -#if 0 if (IsA(left, RelabelType)) left = (Var *) ((RelabelType *) left)->arg; if (IsA(right, RelabelType)) right = (Var *) ((RelabelType *) right)->arg; -#endif /* Can't do anything if inputs are not Vars */ if (!IsA(left, Var) || -- cgit v1.2.3