Fix comment on clearing padding.

Author: Japin Li
Discussion: https://www.postgresql.org/message-id/MEYP282MB16696317B5DA7D0D92306149B627A@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
This commit is contained in:
Heikki Linnakangas 2023-06-27 10:11:31 +03:00
parent 19508f4763
commit 876d17d62f
1 changed files with 1 additions and 1 deletions

View File

@ -1257,7 +1257,7 @@ pgss_store(const char *query, uint64 queryId,
/* Set up key for hashtable search */
/* memset() is required when pgssHashKey is without padding only */
/* clear padding */
memset(&key, 0, sizeof(pgssHashKey));
key.userid = GetUserId();