mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
test_shm_mq: Try again to fix compiler warning.
Per complaints from Andres Freund and Tom Lane.
This commit is contained in:
@ -102,7 +102,7 @@ setup_dynamic_shared_memory(int64 queue_size, int nworkers,
|
|||||||
ereport(ERROR,
|
ereport(ERROR,
|
||||||
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
|
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
|
||||||
errmsg("queue size must be at least %lu bytes",
|
errmsg("queue size must be at least %lu bytes",
|
||||||
shm_mq_minimum_size)));
|
(unsigned long) shm_mq_minimum_size)));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Estimate how much shared memory we need.
|
* Estimate how much shared memory we need.
|
||||||
|
Reference in New Issue
Block a user