Skip to content

PgEventTriggerKind

Namespace: Ankus

Assembly: Ankus.Runtime.dll

Identifies the PostgreSQL event that invoked an event trigger function.

public enum PgEventTriggerKind

Runs after a supported DDL command has changed the catalog.

DdlCommandEnd = 1

Runs before a supported DDL command changes the catalog.

DdlCommandStart = 0

Runs when a database session logs in. PostgreSQL supports this event starting with version 17.

Login = 4

Runs after objects have been removed by a supported DDL command.

SqlDrop = 2

Runs before an existing table is rewritten.

TableRewrite = 3