File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ _PG_init(void)
177
177
* the postmaster process.) We'll allocate or attach to the shared
178
178
* resources in qs_shmem_startup().
179
179
*/
180
- RequestAddinShmemSpace (QUEUE_SIZE );
180
+ RequestAddinShmemSpace (pg_qs_shmem_size () );
181
181
182
182
/* Register interrupt on custom signal of polling query state */
183
183
QueryStatePollReason = RegisterCustomProcSignalHandler (SendQueryState );
Original file line number Diff line number Diff line change 16
16
#include "nodes/pg_list.h"
17
17
#include "storage/shm_mq.h"
18
18
19
- #define TIMINIG_OFF_WARNING 0b01
20
- #define BUFFERS_OFF_WARNING 0b10
19
+ #define TIMINIG_OFF_WARNING 1
20
+ #define BUFFERS_OFF_WARNING 2
21
21
22
22
/*
23
23
* Result status on query state request from asked backend
You can’t perform that action at this time.
0 commit comments