agora inbox for [email protected]  
help / color / mirror / Atom feed
[PATCH 6/6] Combine DROP FDW and DROP SERVER grammar into generic DropStmt
963+ messages / 2 participants
[nested] [flat]

* [PATCH 6/6] Combine DROP FDW and DROP SERVER grammar into generic DropStmt
@ 2016-12-28 17:00 Peter Eisentraut <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Peter Eisentraut @ 2016-12-28 17:00 UTC (permalink / raw)

---
 doc/src/sgml/ref/drop_foreign_data_wrapper.sgml |  2 +-
 doc/src/sgml/ref/drop_server.sgml               |  2 +-
 src/backend/parser/gram.y                       | 66 ++-----------------------
 3 files changed, 6 insertions(+), 64 deletions(-)

diff --git a/doc/src/sgml/ref/drop_foreign_data_wrapper.sgml b/doc/src/sgml/ref/drop_foreign_data_wrapper.sgml
index 824d72c176..702cc021db 100644
--- a/doc/src/sgml/ref/drop_foreign_data_wrapper.sgml
+++ b/doc/src/sgml/ref/drop_foreign_data_wrapper.sgml
@@ -21,7 +21,7 @@
 
  <refsynopsisdiv>
 <synopsis>
-DROP FOREIGN DATA WRAPPER [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [ CASCADE | RESTRICT ]
+DROP FOREIGN DATA WRAPPER [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [, ...] [ CASCADE | RESTRICT ]
 </synopsis>
  </refsynopsisdiv>
 
diff --git a/doc/src/sgml/ref/drop_server.sgml b/doc/src/sgml/ref/drop_server.sgml
index f08dd7767d..42acdd41dc 100644
--- a/doc/src/sgml/ref/drop_server.sgml
+++ b/doc/src/sgml/ref/drop_server.sgml
@@ -21,7 +21,7 @@
 
  <refsynopsisdiv>
 <synopsis>
-DROP SERVER [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [ CASCADE | RESTRICT ]
+DROP SERVER [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [, ...] [ CASCADE | RESTRICT ]
 </synopsis>
  </refsynopsisdiv>
 
diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y
index 1eacdf1e82..7a9f76151d 100644
--- a/src/backend/parser/gram.y
+++ b/src/backend/parser/gram.y
@@ -255,9 +255,9 @@ static Node *makeRecursiveViewSelect(char *relname, List *aliases, Node *query);
 		CreatedbStmt DeclareCursorStmt DefineStmt DeleteStmt DiscardStmt DoStmt
 		DropGroupStmt DropOpClassStmt DropOpFamilyStmt DropPLangStmt DropStmt
 		DropAssertStmt DropTrigStmt DropRuleStmt DropCastStmt DropRoleStmt
-		DropPolicyStmt DropUserStmt DropdbStmt DropTableSpaceStmt DropFdwStmt
+		DropPolicyStmt DropUserStmt DropdbStmt DropTableSpaceStmt
 		DropTransformStmt
-		DropForeignServerStmt DropUserMappingStmt ExplainStmt FetchStmt
+		DropUserMappingStmt ExplainStmt FetchStmt
 		GrantStmt GrantRoleStmt ImportForeignSchemaStmt IndexStmt InsertStmt
 		ListenStmt LoadStmt LockStmt NotifyStmt ExplainableStmt PreparableStmt
 		CreateFunctionStmt AlterFunctionStmt ReindexStmt RemoveAggrStmt
@@ -850,8 +850,6 @@ stmt :
 			| DoStmt
 			| DropAssertStmt
 			| DropCastStmt
-			| DropFdwStmt
-			| DropForeignServerStmt
 			| DropGroupStmt
 			| DropOpClassStmt
 			| DropOpFamilyStmt
@@ -4476,35 +4474,6 @@ opt_fdw_options:
 /*****************************************************************************
  *
  *		QUERY :
- *				DROP FOREIGN DATA WRAPPER name
- *
- ****************************************************************************/
-
-DropFdwStmt: DROP FOREIGN DATA_P WRAPPER name opt_drop_behavior
-				{
-					DropStmt *n = makeNode(DropStmt);
-					n->removeType = OBJECT_FDW;
-					n->objects = list_make1(makeString($5));
-					n->missing_ok = false;
-					n->behavior = $6;
-					n->concurrent = false;
-					$$ = (Node *) n;
-				}
-				|  DROP FOREIGN DATA_P WRAPPER IF_P EXISTS name opt_drop_behavior
-				{
-					DropStmt *n = makeNode(DropStmt);
-					n->removeType = OBJECT_FDW;
-					n->objects = list_make1(makeString($7));
-					n->missing_ok = true;
-					n->behavior = $8;
-					n->concurrent = false;
-					$$ = (Node *) n;
-				}
-		;
-
-/*****************************************************************************
- *
- *		QUERY :
  *				ALTER FOREIGN DATA WRAPPER name options
  *
  ****************************************************************************/
@@ -4636,35 +4605,6 @@ opt_foreign_server_version:
 /*****************************************************************************
  *
  *		QUERY :
- *				DROP SERVER name
- *
- ****************************************************************************/
-
-DropForeignServerStmt: DROP SERVER name opt_drop_behavior
-				{
-					DropStmt *n = makeNode(DropStmt);
-					n->removeType = OBJECT_FOREIGN_SERVER;
-					n->objects = list_make1(makeString($3));
-					n->missing_ok = false;
-					n->behavior = $4;
-					n->concurrent = false;
-					$$ = (Node *) n;
-				}
-				|  DROP SERVER IF_P EXISTS name opt_drop_behavior
-				{
-					DropStmt *n = makeNode(DropStmt);
-					n->removeType = OBJECT_FOREIGN_SERVER;
-					n->objects = list_make1(makeString($5));
-					n->missing_ok = true;
-					n->behavior = $6;
-					n->concurrent = false;
-					$$ = (Node *) n;
-				}
-		;
-
-/*****************************************************************************
- *
- *		QUERY :
  *				ALTER SERVER name [VERSION] [OPTIONS]
  *
  ****************************************************************************/
@@ -6052,7 +5992,9 @@ drop_type1:	TABLE									{ $$ = OBJECT_TABLE; }
 drop_type2: ACCESS METHOD							{ $$ = OBJECT_ACCESS_METHOD; }
 			| EVENT TRIGGER							{ $$ = OBJECT_EVENT_TRIGGER; }
 			| EXTENSION								{ $$ = OBJECT_EXTENSION; }
+			| FOREIGN DATA_P WRAPPER				{ $$ = OBJECT_FDW; }
 			| SCHEMA								{ $$ = OBJECT_SCHEMA; }
+			| SERVER								{ $$ = OBJECT_FOREIGN_SERVER; }
 		;
 
 any_name_list:
-- 
2.11.0


--------------2E97634B6ED7BF4B26D4732D
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0


-- 
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

--------------2E97634B6ED7BF4B26D4732D--




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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28 Antonin Houska <[email protected]>
  0 siblings, 0 replies; 963+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 963+ messages in thread


end of thread, other threads:[~2026-04-13 09:28 UTC | newest]

Thread overview: 963+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-12-28 17:00 [PATCH 6/6] Combine DROP FDW and DROP SERVER grammar into generic DropStmt Peter Eisentraut <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 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