diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2020-12-08 16:29:52 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2020-12-08 16:29:52 -0500 |
commit | a676386b58bf7cd2df81baa43eb1713d3a2ec055 (patch) | |
tree | 74f3250870d97444fe6fb8ee01907ad8efa68bb5 /doc/src | |
parent | 4f5760d4afa9423fe4d38e4cbec48bf5e793e7e5 (diff) | |
download | postgresql-a676386b58bf7cd2df81baa43eb1713d3a2ec055.tar.gz postgresql-a676386b58bf7cd2df81baa43eb1713d3a2ec055.zip |
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
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/config.sgml | 23 | ||||
-rw-r--r-- | doc/src/sgml/syntax.sgml | 6 |
2 files changed, 1 insertions, 28 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 8cd3d6901c5..4b60382778f 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -9389,29 +9389,6 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir' </listitem> </varlistentry> - <varlistentry id="guc-operator-precedence-warning" xreflabel="operator_precedence_warning"> - <term><varname>operator_precedence_warning</varname> (<type>boolean</type>) - <indexterm> - <primary><varname>operator_precedence_warning</varname> configuration parameter</primary> - </indexterm> - </term> - <listitem> - <para> - When on, the parser will emit a warning for any construct that might - have changed meanings since <productname>PostgreSQL</productname> 9.4 as a result - of changes in operator precedence. This is useful for auditing - applications to see if precedence changes have broken anything; but it - is not meant to be kept turned on in production, since it will warn - about some perfectly valid, standard-compliant SQL code. - The default is <literal>off</literal>. - </para> - - <para> - See <xref linkend="sql-precedence"/> for more information. - </para> - </listitem> - </varlistentry> - <varlistentry id="guc-quote-all-identifiers" xreflabel="quote-all-identifiers"> <term><varname>quote_all_identifiers</varname> (<type>boolean</type>) <indexterm> diff --git a/doc/src/sgml/syntax.sgml b/doc/src/sgml/syntax.sgml index 3fdd87823e0..d66560b587c 100644 --- a/doc/src/sgml/syntax.sgml +++ b/doc/src/sgml/syntax.sgml @@ -1121,11 +1121,7 @@ SELECT 3 OPERATOR(pg_catalog.+) 4; cases, these changes will result in no behavioral change, or perhaps in <quote>no such operator</quote> failures which can be resolved by adding parentheses. However there are corner cases in which a query might - change behavior without any parsing error being reported. If you are - concerned about whether these changes have silently broken something, - you can test your application with the configuration - parameter <xref linkend="guc-operator-precedence-warning"/> turned on - to see if any warnings are logged. + change behavior without any parsing error being reported. </para> </note> </sect2> |