GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing www.postgresql.org — DO November 19, 2026: PostgreSQL 19 Released!
Development Versions:
devel
DODO — execute an anonymous code block SynopsisDO [ LANGUAGE Description
The code block is treated as though it were the body of a function with no parameters, returning The optional Parameters
NotesThe procedural language to be used must already have been installed into the current database by means of The user must have If ExamplesGrant all privileges on all views in schema 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'
LOOP
EXECUTE 'GRANT ALL ON ' || quote_ident(r.table_schema) || '.' || quote_ident(r.table_name) || ' TO webuser';
END LOOP;
END$$;
CompatibilityThere is no See AlsoCREATE LANGUAGESubmit correctionIf you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue. |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |