postgres.git / summary / log / commit / refs

commit    6c1686e32cbd61eb620b41ae06d41e419e5fd330
Author:   David Rowley <drowley@postgresql.org>
Date:     Tue Sep 29 13:18:55 2026 +0000
First released in: 14.25, 15.20, 16.16, 17.12, 18.7, 19.0

    Doc: add missing new line in DO example block
    
    Reported-by: Oli Sennhauser <oli.sennhauser@fromdual.com>
    Discussion: https://postgr.es/m/777637c4-9d31-498d-a8ef-645fb510bf5a@fromdual.com
    Backpatch-through: 14


doc/src/sgml/ref/do.sgml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/ref/do.sgml b/doc/src/sgml/ref/do.sgml index 96901b7e461..a01ae9deb84 100644 --- a/doc/src/sgml/ref/do.sgml +++ b/doc/src/sgml/ref/do.sgml @@ -106,7 +106,8 @@ DO [ LANGUAGE <replaceable class="parameter">lang_name</replaceable> ] <replacea Grant all privileges on all views in schema <literal>public</literal> to role <literal>webuser</literal>: <programlisting> -DO $$DECLARE r record; +DO $$ +DECLARE r record; BEGIN FOR r IN SELECT table_schema, table_name FROM information_schema.tables WHERE table_type = 'VIEW' AND table_schema = 'public' [parent: 80cf7ee59902]