Code simplification
Peter Eisentraut <peter@eisentraut.org>
Code simplification Initialize TriggerData to 0 for the whole struct together, instead of each field separately. Reviewed-by: Daniel Gustafsson <daniel@yesql.se> Discussion: https://www.postgresql.org/message-id/flat/11c5f156-67a9-0fb5-8200-2a8018eb2e0c@2ndquadrant.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/tablecmds.c | modified | +1 −3 |
| src/backend/commands/trigger.c | modified | +11 −67 |
Discussion
- allow trigger to get updated columns 5 messages · 2020-02-24 → 2025-01-22