This commit is contained in:
2021-12-02 17:19:29 +00:00
parent e79637203a
commit e6ec151bc2
1460 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
/* src/test/modules/test_extensions/test_event_trigger--1.0.sql */
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
\echo Use "CREATE EXTENSION test_event_trigger" to load this file. \quit
-- Base table with event trigger, used in a regression test involving
-- extension upgrades.
CREATE TABLE t (id text);
CREATE OR REPLACE FUNCTION _evt_table_rewrite_fnct()
RETURNS EVENT_TRIGGER LANGUAGE plpgsql AS
$$
BEGIN
END;
$$;
CREATE EVENT TRIGGER table_rewrite_trg
ON table_rewrite
EXECUTE PROCEDURE _evt_table_rewrite_fnct();