Re: UNION removes almost all rows (not duplicates) - in fresh build of pg17!
От
Tom Lane
Тема
Re: UNION removes almost all rows (not duplicates) - in fresh build of pg17!
Дата
Msg-id
3538123.1716225084@sss.pgh.pa.us
Ответ на
UNION removes almost all rows (not duplicates) - in fresh build of pg17! (hubert depesz lubaczewski)
Список
Дерево обсуждения
UNION removes almost all rows (not duplicates) - in fresh build of pg17! hubert depesz lubaczewski <depesz@depesz.com>
Re: UNION removes almost all rows (not duplicates) - in fresh build of pg17! Tom Lane <tgl@sss.pgh.pa.us>
Re: UNION removes almost all rows (not duplicates) - in fresh build of pg17! David Rowley <dgrowleyml@gmail.com>
Re: UNION removes almost all rows (not duplicates) - in fresh build of pg17! hubert depesz lubaczewski <depesz@depesz.com>
hubert depesz lubaczewski writes:
> $ select count(*) from ( select * from pg_class where relkind = 'r' union select * from pg_class where relkind = 'i' );
> count
> ───────
> 1
> (1 row)
Ugh, that is awful. Bisecting shows it broke at
commit 66c0185a3d14bbbf51d0fc9d267093ffec735231
Author: David Rowley
Date: Mon Mar 25 14:31:14 2024 +1300
Allow planner to use Merge Append to efficiently implement UNION
I've not looked at the patch, but somehow it's totally forgetting
what it's supposed to be unique-ifying on.
regards, tom lane
В списке pgsql-bugs по дате отправления
От: Alvaro Herrera
Дата:
От: Haifang Wang (Centific Technologies Inc)
Дата: