Avoid unnecessary MemSet call
authorPeter Eisentraut <peter@eisentraut.org>
Thu, 30 Jun 2022 18:10:13 +0000 (19:10 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 30 Jun 2022 18:10:13 +0000 (19:10 +0100)
commit8cd61d288adfabe1b7f83359eb0abd27382eec08
treeff481e866047be8aba143a55a8a6070bd35857b6
parentd31d30973a190f69d414f7fc7b670771ac346a59
Avoid unnecessary MemSet call

The variable in question was changed from a struct to a pointer some
time ago (77947c51c08).  Using MemSet to zero it still works but is
obviously unidiomatic and confusing, so change it to a straight
assignment.

Author: Ranier Vilela <ranier.vf@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/CAEudQApCeq4JjW1BdnwU=m=-DvG5WyUik0Yfn3p6UNphiHjj+w@mail.gmail.com
src/backend/utils/cache/relcache.c