tcn
Triggered change notifications
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
tcn | 1.0 | FUNC | PostgreSQL | C |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 4920 | tcn | No | Yes | No | Yes | Yes | No | - |
Version
| PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|
| 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
Install
Note: This is a built-in contrib extension of PostgreSQL
Usage
Provides a trigger function that sends NOTIFY events with information about changed rows, enabling asynchronous change tracking.
Trigger Function
| Function | Description |
|---|---|
triggered_change_notification() | Send NOTIFY on row changes with primary key info |
Optional parameter: custom channel name (defaults to tcn).
Notification Payload Format
Operations: I (INSERT), U (UPDATE), D (DELETE).
Examples
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)