1
0
mirror of https://github.com/postgres/postgres.git synced 2026-10-23 13:29:09 +03:00

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
This commit is contained in:
David Rowley
2026-09-30 02:18:55 +13:00
parent 80cf7ee599
commit 6c1686e32c

View File

@@ -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'