Code simplification

Peter Eisentraut <peter@eisentraut.org>

Commit: 8f152b6c50c764d4c300e73a535da88cd1b18fa5
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2020-03-09T08:34:55Z
Releases: 13.0
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

PathChange+/−
src/backend/commands/tablecmds.c modified +1 −3
src/backend/commands/trigger.c modified +11 −67

Discussion