View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006882 | SymmetricDS | New Feature | public | 2025-05-09 18:18 | 2025-05-09 18:39 |
Reporter | pbelov | Assigned To | pbelov | ||
Priority | normal | ||||
Status | confirmed | Resolution | open | ||
Product Version | 3.16.0 | ||||
Target Version | 3.16.3 | ||||
Summary | 0006882: Capture TRUNCATE table events in PostgreSQL database | ||||
Description | The PostgreSQL database supports triggers for TRUNCATE table events. Currently these events are not being captured by the existing DDL trigger feature. The TRUNCATE table event in PostgreSQL is: * A table-level event (not a row-level or schema-level event). * Must be implemented via a function or procedure. | ||||
Steps To Reproduce | Set up a node with PostgreSQL database as a source. Set the parameter trigger.capture.ddl.changes=true Create a test table : CREATE TABLE demo_small(id int); Configure new SymmetricDS trigger for the demo_small table. Execute truncate statement: TRUNCATE TABLE demo_small; Observe: No new sym_data records. | ||||
Additional Information | PostgreSQL docs: Create Trigger https://www.postgresql.org/docs/17/sql-createtrigger.html Trigger functions https://www.postgresql.org/docs/current/functions-event-triggers.html | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2025-05-09 18:18 | pbelov | New Issue | |
2025-05-09 18:18 | pbelov | Status | new => assigned |
2025-05-09 18:18 | pbelov | Assigned To | => pbelov |
2025-05-09 18:39 | pbelov | Status | assigned => confirmed |
2025-05-09 18:39 | pbelov | Description Updated | View Revisions |
2025-05-09 18:39 | pbelov | Steps to Reproduce Updated | View Revisions |
2025-05-09 18:39 | pbelov | Additional Information Updated | View Revisions |