Re: JumbleQuery ma treat different GROUP BY expr as the same - Mailing list pgsql-hackers

From Keisuke Kuroda
Subject Re: JumbleQuery ma treat different GROUP BY expr as the same
Date
Msg-id CANDwggK=c+hvCwShGL_METRRKfTGqL58w05xRdk8Dn_awv08uA@mail.gmail.com
Whole thread
In response to Re: JumbleQuery ma treat different GROUP BY expr as the same  (jian he <jian.universality@gmail.com>)
List pgsql-hackers
Hi hackers,

In previous versions, changing the column order in the SELECT clause
also resulted in a different query_id.The test results are in the
attached queryidtest.txt file.

If TargetEntry.resjunk is not marked as query_jumble_ignore, it feels
a bit off that the query_id differs even when the execution plan is
identical, including the output order.

However, it is also true that queries with different column
specifications in the SQL SELECT clause are collected as identical
SQL. To distinguish and collect information on these, modifications
like this patch are necessary.

-- 
Keisuke Kuroda
NTT DOCOMO SOLUTIONS, Inc.

Attachment

pgsql-hackers by date:

Previous
From: Frédéric Yhuel
Date:
Subject: Re: n_dead_tup could be way off just after a vacuum
Next
From: Michael Paquier
Date:
Subject: Re: Add documentation for PG_ABS_SRCDIR, PG_ABS_BUILDDIR, PG_LIBDIR, PG_DLSUFFIX