mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-18 11:45:11 +08:00
Check for interrupts in gapfill main loop
Add CHECK_FOR_INTERRUPTS() macro to gapfill main loop.
This commit is contained in:
parent
87756bcff9
commit
8b6eb9024f
@ -29,11 +29,14 @@ argument or resolve the type ambiguity by casting to the intended type.
|
||||
* #4840 Fix performance regressions in the copy code
|
||||
* #4823 Fix a crash that could occur when using nested user-defined functions with hypertables
|
||||
* #4898 Fix cagg migration failure when trying to resume
|
||||
* #4910 Fix a typo in process_compressed_data_out
|
||||
* #4955 Fix cagg migration for hypertables using timestamp without timezone
|
||||
* #4968 Check for interrupts in gapfill main loop
|
||||
|
||||
**Thanks**
|
||||
* @jflambert for reporting a crash with nested user-defined functions.
|
||||
* @jvanns for reporting hypertable FK reference to vanilla PostgreSQL partitioned table doesn't seem to work
|
||||
* @kou for fixing a typo in process_compressed_data_out
|
||||
* @xvaara for helping reproduce a bug with bitmap scans in transparent decompression
|
||||
|
||||
## 2.8.1 (2022-10-06)
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include <catalog/pg_cast.h>
|
||||
#include <catalog/pg_collation.h>
|
||||
#include <catalog/pg_type.h>
|
||||
#include <miscadmin.h>
|
||||
#include <nodes/extensible.h>
|
||||
#include <nodes/makefuncs.h>
|
||||
#include <nodes/nodeFuncs.h>
|
||||
@ -810,6 +811,8 @@ gapfill_exec(CustomScanState *node)
|
||||
|
||||
while (true)
|
||||
{
|
||||
CHECK_FOR_INTERRUPTS();
|
||||
|
||||
/* fetch next tuple from subplan */
|
||||
if (FETCHED_NONE == state->state)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user