mirror of
https://github.com/postgres/postgres.git
synced 2025-07-08 11:42:09 +03:00
Mark misc static global variables as const
Reviewed-by: Andres Freund Discussion: https://www.postgresql.org/message-id/54c29fb0-edf2-48ea-9814-44e918bbd6e8@iki.fi
This commit is contained in:
@ -362,7 +362,7 @@ XLogPrefetcher *
|
||||
XLogPrefetcherAllocate(XLogReaderState *reader)
|
||||
{
|
||||
XLogPrefetcher *prefetcher;
|
||||
static HASHCTL hash_table_ctl = {
|
||||
const HASHCTL hash_table_ctl = {
|
||||
.keysize = sizeof(RelFileLocator),
|
||||
.entrysize = sizeof(XLogPrefetcherFilter)
|
||||
};
|
||||
|
Reference in New Issue
Block a user