agora inbox for [email protected]  
help / color / mirror / Atom feed
[PATCH 1/2] Add missing initialization.
962+ messages / 1 participants
[nested] [flat]

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 962+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 962+ messages in thread


end of thread, other threads:[~2026-04-13 09:28 UTC | newest]

Thread overview: 962+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox