↑↓ select ↵ open ⌫ change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Functions / System Information Functions And Operators

pg_get_triggerdef

Read the PG 18 manual

Reconstructs the creating command for a trigger.

Reading PG 18current·documented in 24 of 27 versions, 7.4 to 20

Signatures & examples

pg_get_triggerdef ( trigger oid [, pretty boolean ] ) → text
Reconstructs the creating command for a trigger. (This is a decompiled reconstruction, not the original text of the command.)
Version history 4
  1. 12 → 13 changed
  2. 8.4 → 9.0 changed
  3. 7.4 → 8.0 changed
  4. 7.3 → 7.4 added

Definition snapshot: b7bd9cda · English manual source