diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-06-16 02:03:38 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-06-16 02:03:38 +0000 |
commit | a4997254693057d4587d74222881b8e03580da2c (patch) | |
tree | c022e641ec691ce3f108b28e0720444da6ed3eef /src/backend/executor/execProcnode.c | |
parent | cb02610e503957d7ed9b4375537fb6275c16f1fa (diff) | |
download | postgresql-a4997254693057d4587d74222881b8e03580da2c.tar.gz postgresql-a4997254693057d4587d74222881b8e03580da2c.zip |
Allow GROUP BY, ORDER BY, DISTINCT targets to be unknown literals,
silently resolving them to type TEXT. This is comparable to what we
do when faced with UNKNOWN in CASE, UNION, and other contexts. It gets
rid of this and related annoyances:
select distinct f1, '' from int4_tbl;
ERROR: Unable to identify an ordering operator '<' for type unknown
This was discussed many moons ago, but no one got round to fixing it.
Diffstat (limited to 'src/backend/executor/execProcnode.c')
0 files changed, 0 insertions, 0 deletions