Code simplification
authorPeter Eisentraut <peter@eisentraut.org>
Mon, 24 Feb 2020 09:12:10 +0000 (10:12 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Mon, 9 Mar 2020 08:34:55 +0000 (09:34 +0100)
commit8f152b6c50c764d4c300e73a535da88cd1b18fa5
tree001be18ff752c81770ad087018bff1253244c776
parentef34ab42a85968f3ab4c8e490b77dfb3565dd5e7
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
src/backend/commands/tablecmds.c
src/backend/commands/trigger.c