mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
Fix compiler warning: Size isn't 64 bits on 32 bit platforms.
Report by Peter Eisentraut.
This commit is contained in:
parent
5df99f6481
commit
be361ef2a0
@ -101,7 +101,7 @@ setup_dynamic_shared_memory(uint64 queue_size, int nworkers,
|
|||||||
if (queue_size < 0 || ((uint64) queue_size) < shm_mq_minimum_size)
|
if (queue_size < 0 || ((uint64) queue_size) < shm_mq_minimum_size)
|
||||||
ereport(ERROR,
|
ereport(ERROR,
|
||||||
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
|
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
|
||||||
errmsg("queue size must be at least " UINT64_FORMAT " bytes",
|
errmsg("queue size must be at least %lu bytes",
|
||||||
shm_mq_minimum_size)));
|
shm_mq_minimum_size)));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user