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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user