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...@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/CAEudQApCeq4JjW1BdnwU=m=-dvg5wyuik0yfn3p6unphihj...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/8cd61d288adfabe1b7f83359eb0abd27382eec08 Modified Files -------------- src/backend/utils/cache/relcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)