diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-03-23 05:14:37 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-03-23 05:14:37 +0000 |
commit | 8d9e025e7fcc68737d5a0e99b457417ed595af46 (patch) | |
tree | feca4424957b7784e94428b5ed938454a4c71fdf /src/backend/utils/adt/selfuncs.c | |
parent | efeffae2457c69802eed7e4c45c1c3c97528a6fe (diff) | |
download | postgresql-8d9e025e7fcc68737d5a0e99b457417ed595af46.tar.gz postgresql-8d9e025e7fcc68737d5a0e99b457417ed595af46.zip |
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.
Diffstat (limited to 'src/backend/utils/adt/selfuncs.c')
-rw-r--r-- | src/backend/utils/adt/selfuncs.c | 7 |
1 files changed, 1 insertions, 6 deletions
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) || |