mirror of
https://github.com/postgres/postgres.git
synced 2025-07-12 21:01:52 +03:00
Remove operator_precedence_warning.
This GUC was always intended as a temporary solution to help with finding 9.4-to-9.5 migration issues. Now that all pre-9.5 branches are out of support, and 9.5 will be too before v14 is released, it seems like it's okay to drop it. Doing so allows removal of several hundred lines of poorly-tested code in parse_expr.c, which have been a fertile source of bugs when people did use this. Discussion: https://postgr.es/m/2234320.1607117945@sss.pgh.pa.us
This commit is contained in:
@ -1878,16 +1878,6 @@ static struct config_bool ConfigureNamesBool[] =
|
||||
NULL, NULL, NULL
|
||||
},
|
||||
|
||||
{
|
||||
{"operator_precedence_warning", PGC_USERSET, COMPAT_OPTIONS_PREVIOUS,
|
||||
gettext_noop("Emit a warning for constructs that changed meaning since PostgreSQL 9.4."),
|
||||
NULL,
|
||||
},
|
||||
&operator_precedence_warning,
|
||||
false,
|
||||
NULL, NULL, NULL
|
||||
},
|
||||
|
||||
{
|
||||
{"quote_all_identifiers", PGC_USERSET, COMPAT_OPTIONS_PREVIOUS,
|
||||
gettext_noop("When generating SQL fragments, quote all identifiers."),
|
||||
|
Reference in New Issue
Block a user