pgsql: Remove useless initializations - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Remove useless initializations
Date
Msg-id E1sOAwJ-003lBQ-Ff@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove useless initializations

The struct is already initialized to all zeros right before this, and
randomly initializing a few but not all fields to zero again has no
technical or educational value.

Reviewed-by: Tomasz Rybak <tomasz.rybak@post.pl>
Discussion: https://www.postgresql.org/message-id/flat/a368248e-69e4-40be-9c07-6c3b5880b0a6@eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/da2aeba8f53379e84a8f3f656b6c2ffe5878eff5

Modified Files
--------------
src/backend/utils/cache/relcache.c | 2 --
1 file changed, 2 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: doc: Clarify that pg_attrdef also stores generation expressions
Next
From: David Rowley
Date:
Subject: pgsql: Add context type field to pg_backend_memory_contexts