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 — CREATE EVENT TRIGGER November 19, 2026: PostgreSQL 19 Released!
Development Versions:
devel
CREATE EVENT TRIGGERCREATE EVENT TRIGGER — define a new event trigger SynopsisCREATE EVENT TRIGGER Description
Parameters
NotesOnly superusers can create event triggers. Event triggers are disabled in single-user mode (see postgres) as well as when event_triggers is set to ExamplesForbid the execution of any DDL command: CREATE OR REPLACE FUNCTION abort_any_command() RETURNS event_trigger LANGUAGE plpgsql AS $$ BEGIN RAISE EXCEPTION 'command % is disabled', tg_tag; END; $$; CREATE EVENT TRIGGER abort_ddl ON ddl_command_start EXECUTE FUNCTION abort_any_command(); CompatibilityThere is no Submit 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. |