Avoid unnecessary MemSet call
Peter Eisentraut <peter@eisentraut.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/cache/relcache.c | modified | +1 −1 |
Discussion
- Avoid unecessary MemSet call (src/backend/utils/cache/relcache.c) 53 messages · 2022-05-14 → 2022-08-25