Bruce Momjian wrote:
>
> This is a partial fix. In make_unique(), if Query->uniqueAttr is '*',
> Unique->uniqueAttr gets null. However, with this fix, I get:
>
> test=> select usesysid from pg_user where usesysid in (select distinct
> usesysid from pg_user);
> ERROR: ExecReScan: node type 24 not supported
>
> I have not installed this patch yet until Vadim comments and perhaps has
> an idea on the ExecReScan message:
Patch is Ok. DISTINCT is yet another node without re-scan support.
Hope to add it in 1-2 days.
Vadim