From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Code simplification |
Date: | 2020-03-09 08:38:54 |
Message-ID: | E1jBDw6-0005kb-LY@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Code simplification
Initialize TriggerData to 0 for the whole struct together, instead of
each field separately.
Reviewed-by: Daniel Gustafsson <daniel(at)yesql(dot)se>
Discussion: https://www.postgresql.org/message-id/flat/11c5f156-67a9-0fb5-8200-2a8018eb2e0c(at)2ndquadrant(dot)com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/8f152b6c50c764d4c300e73a535da88cd1b18fa5
Modified Files
--------------
src/backend/commands/tablecmds.c | 4 +--
src/backend/commands/trigger.c | 78 ++++++----------------------------------
2 files changed, 12 insertions(+), 70 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Fujii Masao | 2020-03-09 15:52:33 | pgsql: Fix bug that causes to report waiting in PS display twice, in ho |
Previous Message | Fujii Masao | 2020-03-09 06:45:03 | pgsql: Avoid assertion failure with targeted recovery in standby mode. |