timescaledb/sql/trigger_functions.sql
Erik Nordström db39eddf2e Remove unused cache invalidation triggers
The cache invalidation triggers on our catalog tables
aren't used anymore as all modifications to catalog tables
happen using the C API, which doesn't invoke triggers and
has its own cache invalidation functionality.
2018-02-26 20:10:31 +01:00

9 lines
487 B
SQL

-- Make sure any trigger functions or event trigger functions defined here.
-- This file is called first in any upgrade or install script to make sure
-- these functions match the new .so before they are called.
-- All functions here should be disabled -- in c -- during upgrades.
-- This function is called for any ddl event.
CREATE OR REPLACE FUNCTION _timescaledb_internal.process_ddl_event() RETURNS event_trigger
AS '@MODULE_PATHNAME@', 'timescaledb_process_ddl_event' LANGUAGE C;