pgsql: Remove useless initializations - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Remove useless initializations
Date
Msg-id [email protected]
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 <[email protected]>
Discussion: https://www.postgresql.org/message-id/flat/[email protected]

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