pgsql: Remove useless initializations

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Remove useless initializations
Дата
Msg-id E1sOAwJ-003lBQ-Ff@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: doc: Clarify that pg_attrdef also stores generation expressions
Следующее
От: David Rowley
Дата:
Сообщение: pgsql: Add context type field to pg_backend_memory_contexts