| From: | Eric Ridge <eebbrr(at)gmail(dot)com> |
|---|---|
| To: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: pg18 bug? SELECT query doesn't work |
| Date: | 2026-01-06 15:52:56 |
| Message-ID: | C7FCAD3A-9859-4CCB-95DE-62ECF1368331@gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-hackers |
> On Jan 6, 2026, at 10:22 AM, Eric Ridge <eebbrr(at)gmail(dot)com> wrote:
>
> Here's a reduced test case:
Here's an even more reduced test case. No tables or data:
# SELECT * FROM (SELECT upper(unnest(ARRAY['cat', 'dog'])) as animal FROM generate_series(1, 10) GROUP BY 1) x WHERE animal ilike 'c%';
pg15 returns:
animal
--------
CAT
(1 row)
and pg18 says:
# SELECT * FROM (SELECT upper(unnest(ARRAY['cat', 'dog'])) as animal FROM generate_series(1, 10) GROUP BY 1) x WHERE animal ilike 'c%';
ERROR: set-valued function called in context that cannot accept a set
LINE 1: SELECT * FROM (SELECT upper(unnest(ARRAY['cat', 'dog'])) as ...
^
Thanks!
eric
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David G. Johnston | 2026-01-06 16:04:01 | Re: pg18 bug? SELECT query doesn't work |
| Previous Message | Eric Ridge | 2026-01-06 15:22:23 | pg18 bug? SELECT query doesn't work |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Xuneng Zhou | 2026-01-06 15:53:11 | Re: Implement waiting for wal lsn replay: reloaded |
| Previous Message | Tomas Vondra | 2026-01-06 15:36:15 | Re: failed NUMA pages inquiry status: Operation not permitted |