Thread: pgsql: Doc: improve documentation about ORDER BY in matviews.

pgsql: Doc: improve documentation about ORDER BY in matviews.

From
Tom Lane
Date:
Doc: improve documentation about ORDER BY in matviews.

Remove the confusing use of ORDER BY in an example materialized
view.  It adds nothing to the example, but might encourage
people to follow bad practice.  Clarify REFRESH MATERIALIZED
VIEW's note about whether view ordering is retained (it isn't).

Maciek Sakrejda

Discussion: https://postgr.es/m/CAOtHd0D-OvrUU0C=4hX28p4BaSE1XL78BAQ0VcDaLLt8tdUzsg@mail.gmail.com

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/ce43b3dc52c90082981f2f1de5351a95fc21c405

Modified Files
--------------
doc/src/sgml/ref/refresh_materialized_view.sgml | 10 ++++------
doc/src/sgml/rules.sgml                         |  3 ---
2 files changed, 4 insertions(+), 9 deletions(-)