Bucardo/tables/bucardo.customcode

From Bucardo

Jump to: navigation, search

Table: bucardo.customcode

Holds Perl subroutines that run via hooks in the replication process
ColumnTypeNotes
id INTEGER NOT NULL DEFAULT nextval('customcode_id_seq')
name TEXT NOT NULL UNIQUE
about TEXT NULL
whenrun TEXT NOT NULL
getdbh BOOLEAN NOT NULL DEFAULT 'true'
getrows BOOLEAN NOT NULL DEFAULT 'false'
trigrules BOOLEAN NOT NULL DEFAULT 'false'
src_code TEXT NOT NULL
cdate TIMESTAMPTZ NOT NULL DEFAULT now()
ConstraintDefinition
customcode_id_pkPRIMARY KEY (id)
customcode_whenrunCHECK (whenrun IN ('before_txn', 'before_check_rows', 'before_trigger_drop', 'after_trigger_drop', 'after_table_sync', 'exception', 'conflict', 'before_trigger_enable', 'after_trigger_enable', 'after_txn', 'before_sync', 'after_sync'))
Personal tools