mirror of
https://github.com/postgres/postgres.git
synced 2025-06-25 01:02:05 +03:00
Revert: Remove useless self-joins
This commit revertsd3d55ce571
and subsequent fixes2b26a69455
,93c85db3b5
,b44a1708ab
,b7f315c9d7
,8a8ed916f7
,b5fb6736ed
,0a93f803f4
,e0477837ce
,a7928a57b9
,5ef34a8fc3
,30b4955a46
,8c441c0827
,028b15405b
,fe093994db
,489072ab7a
, and466979ef03
. We are quite late in the release cycle and new bugs continue to appear. Even though we have fixes for all known bugs, there is a risk of throwing many bugs to end users. The plan for self-join elimination would be to do more review and testing, then re-commit in the early v18 cycle. Reported-by: Tom Lane Discussion: https://postgr.es/m/2422119.1714691974%40sss.pgh.pa.us
This commit is contained in:
@ -986,16 +986,6 @@ struct config_bool ConfigureNamesBool[] =
|
||||
true,
|
||||
NULL, NULL, NULL
|
||||
},
|
||||
{
|
||||
{"enable_self_join_removal", PGC_USERSET, QUERY_TUNING_METHOD,
|
||||
gettext_noop("Enable removal of unique self-joins."),
|
||||
NULL,
|
||||
GUC_EXPLAIN | GUC_NOT_IN_SAMPLE
|
||||
},
|
||||
&enable_self_join_removal,
|
||||
true,
|
||||
NULL, NULL, NULL
|
||||
},
|
||||
{
|
||||
{"enable_group_by_reordering", PGC_USERSET, QUERY_TUNING_METHOD,
|
||||
gettext_noop("Enables reordering of GROUP BY keys."),
|
||||
|
Reference in New Issue
Block a user