From 295957484cc7f54fb6055705b3b0ecb9c70bc135 Mon Sep 17 00:00:00 2001 From: Henson Choi Date: Sun, 28 Jun 2026 14:47:42 +0900 Subject: [PATCH] Restore line wrapping of pre-existing window clause documentation The row pattern recognition docs patch re-wrapped two unrelated, pre-existing paragraphs while inserting new text above them. Restore their original wrapping to keep the documentation diff minimal: - advanced.sgml: the tutorial WINDOW/OVER paragraph - ref/select.sgml: the "purpose of a WINDOW clause" paragraph --- doc/src/sgml/advanced.sgml | 8 ++++---- doc/src/sgml/ref/select.sgml | 3 +-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/doc/src/sgml/advanced.sgml b/doc/src/sgml/advanced.sgml index bdc552ad75f..c9d4e2ffc64 100644 --- a/doc/src/sgml/advanced.sgml +++ b/doc/src/sgml/advanced.sgml @@ -679,10 +679,10 @@ FROM stock When a query involves multiple window functions, it is possible to write out each one with a separate OVER clause, but this is - duplicative and error-prone if the same windowing behavior is wanted for - several functions. Instead, each windowing behavior can be named in - a WINDOW clause and then referenced - in OVER. For example: + duplicative and error-prone if the same windowing behavior is wanted + for several functions. Instead, each windowing behavior can be named + in a WINDOW clause and then referenced in OVER. + For example: SELECT sum(salary) OVER w, avg(salary) OVER w diff --git a/doc/src/sgml/ref/select.sgml b/doc/src/sgml/ref/select.sgml index be5ed814853..e0423cf5f91 100644 --- a/doc/src/sgml/ref/select.sgml +++ b/doc/src/sgml/ref/select.sgml @@ -1216,8 +1216,7 @@ DEFINE definition_variable_name AS The purpose of a WINDOW clause is to specify the - behavior of window functions appearing in the - query's + behavior of window functions appearing in the query's SELECT list or ORDER BY clause. These functions -- 2.50.1 (Apple Git-155)