We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afddc65 commit 677e791Copy full SHA for 677e791
src/pathman_workers.c
@@ -458,8 +458,8 @@ bgw_main_concurrent_part(Datum main_arg)
458
ConcurrentPartSlot *part_slot;
459
char *sql = NULL;
460
int64 rows;
461
- bool failed;
462
- int failures_count = 0;
+ volatile bool failed;
+ volatile int failures_count = 0;
463
LOCKMODE lockmode = RowExclusiveLock;
464
465
/* Update concurrent part slot */
@@ -497,7 +497,7 @@ bgw_main_concurrent_part(Datum main_arg)
497
Oid types[2] = { OIDOID, INT4OID };
498
Datum vals[2] = { part_slot->relid, part_slot->batch_size };
499
500
- bool rel_locked = false;
+ volatile bool rel_locked = false;
501
502
/* Reset loop variables */
503
failed = false;
0 commit comments