agora inbox for [email protected]  
help / color / mirror / Atom feed
RE: Imperfect solutions
970+ messages / 5 participants
[nested] [flat]

* RE: Imperfect solutions
@ 2001-06-05 08:16  Christopher Kings-Lynne <[email protected]>
  0 siblings, 2 replies; 970+ messages in thread

From: Christopher Kings-Lynne @ 2001-06-05 08:16 UTC (permalink / raw)
  To: Bruce Momjian <[email protected]>; pgsql-hackers

Hi Bruce,

I was just looking at the TODO list and noticed my name in it - cool!  (You
spelled it wrong - but hey :) )

Just thought you might like to add

* ALTER TABLE ADD PRIMARY KEY
* ALTER TABLE ADD UNIQUE

I thought they were there before, but they're not there any more.  I am
currently about 90% finished on a patch that will add the functionality
listed above.

Chris




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

* Re: Imperfect solutions
@ 2001-06-05 08:51  Karel Zak <[email protected]>
  parent: Christopher Kings-Lynne <[email protected]>
  1 sibling, 1 reply; 970+ messages in thread

From: Karel Zak @ 2001-06-05 08:51 UTC (permalink / raw)
  To: Christopher Kings-Lynne <[email protected]>; +Cc: Bruce Momjian <[email protected]>; pgsql-hackers

On Tue, Jun 05, 2001 at 04:16:06PM +0800, Christopher Kings-Lynne wrote:
> Hi Bruce,
> 
> I was just looking at the TODO list and noticed my name in it - cool!  (You
> spelled it wrong - but hey :) )
> 
> Just thought you might like to add
> 
> * ALTER TABLE ADD PRIMARY KEY
> * ALTER TABLE ADD UNIQUE

 And what

	 ALTER TABLE DROP PRIMARY KEY
	 ALTER TABLE DROP UNIQUE 

 BTW, it's a little cosmetic feature if we have CREATE/DROP INDEX :-)

				Karel

-- 
 Karel Zak  <[email protected]>
 http://home.zf.jcu.cz/~zakkr/
 
 C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz



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

* RE: Imperfect solutions
@ 2001-06-05 08:55  Christopher Kings-Lynne <[email protected]>
  parent: Karel Zak <[email protected]>
  0 siblings, 1 reply; 970+ messages in thread

From: Christopher Kings-Lynne @ 2001-06-05 08:55 UTC (permalink / raw)
  To: Karel Zak <[email protected]>; +Cc: Bruce Momjian <[email protected]>; pgsql-hackers

> > Just thought you might like to add
> >
> > * ALTER TABLE ADD PRIMARY KEY
> > * ALTER TABLE ADD UNIQUE
>
>  And what
>
> 	 ALTER TABLE DROP PRIMARY KEY
> 	 ALTER TABLE DROP UNIQUE
>
>  BTW, it's a little cosmetic feature if we have CREATE/DROP INDEX :-)

Those two points are already mentioned - I have another 90% patch ready to
go that will add that functionality as well...

Chris




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

* RE: Imperfect solutions
@ 2001-06-05 15:38  Stephan Szabo <[email protected]>
  parent: Christopher Kings-Lynne <[email protected]>
  0 siblings, 1 reply; 970+ messages in thread

From: Stephan Szabo @ 2001-06-05 15:38 UTC (permalink / raw)
  To: Christopher Kings-Lynne <[email protected]>; +Cc: pgsql-hackers

On Tue, 5 Jun 2001, Christopher Kings-Lynne wrote:

> > > Just thought you might like to add
> > >
> > > * ALTER TABLE ADD PRIMARY KEY
> > > * ALTER TABLE ADD UNIQUE
> >
> >  And what
> >
> > 	 ALTER TABLE DROP PRIMARY KEY
> > 	 ALTER TABLE DROP UNIQUE
> >
> >  BTW, it's a little cosmetic feature if we have CREATE/DROP INDEX :-)
> 
> Those two points are already mentioned - I have another 90% patch ready to
> go that will add that functionality as well...

As a question, are you doing anything to handle dropping referenced unique
constraints or are we just waiting on that until a referencing system
is built?





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

* RE: Imperfect solutions
@ 2001-06-06 01:44  Christopher Kings-Lynne <[email protected]>
  parent: Stephan Szabo <[email protected]>
  0 siblings, 1 reply; 970+ messages in thread

From: Christopher Kings-Lynne @ 2001-06-06 01:44 UTC (permalink / raw)
  To: Stephan Szabo <[email protected]>; +Cc: pgsql-hackers

> > Those two points are already mentioned - I have another 90%
> patch ready to
> > go that will add that functionality as well...
>
> As a question, are you doing anything to handle dropping referenced unique
> constraints or are we just waiting on that until a referencing system
> is built?

By that do you mean: what happens when you drop a primary key that is
referenced by a foreign key?

My answer: Forgot about that ;)  I'll see what I can do but anytime
investigation of foreign keys is required it's a real pain.  Foreign keys
are kinda next on my list for work, so I might look at it then if it's too
difficult right now.  (I've got a query that can find all foreign keys on a
relation, and what they relate to, that I'm going to add to psql).

My other questions then are:

Does anything else (other than fk's) ever reference a primary key?
What can reference a unique key?

Chris




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

* RE: Imperfect solutions
@ 2001-06-06 01:58  Stephan Szabo <[email protected]>
  parent: Christopher Kings-Lynne <[email protected]>
  0 siblings, 1 reply; 970+ messages in thread

From: Stephan Szabo @ 2001-06-06 01:58 UTC (permalink / raw)
  To: Christopher Kings-Lynne <[email protected]>; +Cc: pgsql-hackers


On Wed, 6 Jun 2001, Christopher Kings-Lynne wrote:

> > > Those two points are already mentioned - I have another 90%
> > patch ready to
> > > go that will add that functionality as well...
> >
> > As a question, are you doing anything to handle dropping referenced unique
> > constraints or are we just waiting on that until a referencing system
> > is built?
> 
> By that do you mean: what happens when you drop a primary key that is
> referenced by a foreign key?
> 
> My answer: Forgot about that ;)  I'll see what I can do but anytime
> investigation of foreign keys is required it's a real pain.  Foreign keys
> are kinda next on my list for work, so I might look at it then if it's too
> difficult right now.  (I've got a query that can find all foreign keys on a
> relation, and what they relate to, that I'm going to add to psql).

I wouldn't worry all that much about it since you could still break it
with drop index, but I wanted to know if you'd done anything with it
and if so how general it was.

How'd you do the splitting of the arguments to get the columns referenced?
That was the biggest problem I was having, trying to get the bytea split
up.  (Well, without writing a function to do it for me)

> My other questions then are:
> 
> Does anything else (other than fk's) ever reference a primary key?
> What can reference a unique key?

Foreign keys are the only one I know of, but they can reference either.




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

* RE: Imperfect solutions
@ 2001-06-06 02:09  Christopher Kings-Lynne <[email protected]>
  parent: Stephan Szabo <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Christopher Kings-Lynne @ 2001-06-06 02:09 UTC (permalink / raw)
  To: Stephan Szabo <[email protected]>; +Cc: pgsql-hackers

> (I've got a query that can find all
> foreign keys on a
> > relation, and what they relate to, that I'm going to add to psql).
>
> How'd you do the splitting of the arguments to get the columns referenced?
> That was the biggest problem I was having, trying to get the bytea split
> up.  (Well, without writing a function to do it for me)

My original functionality for showing foreign keys was implemented in PHP,
so all I had to do was go:

$tgargs = explode('\000', $row['tgargs']);

It's going to be harder to do that in C I guess...

Chris




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

* Re: Imperfect solutions
@ 2001-06-06 04:54  Bruce Momjian <[email protected]>
  parent: Christopher Kings-Lynne <[email protected]>
  1 sibling, 0 replies; 970+ messages in thread

From: Bruce Momjian @ 2001-06-06 04:54 UTC (permalink / raw)
  To: Christopher Kings-Lynne <[email protected]>; +Cc: pgsql-hackers

> Hi Bruce,
> 
> I was just looking at the TODO list and noticed my name in it - cool!  (You
> spelled it wrong - but hey :) )
> 
> Just thought you might like to add
> 
> * ALTER TABLE ADD PRIMARY KEY
> * ALTER TABLE ADD UNIQUE
> 
> I thought they were there before, but they're not there any more.  I am
> currently about 90% finished on a patch that will add the functionality
> listed above.

Added, name fixed.  Thanks.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [email protected]               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

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

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

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

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


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



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

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread

* [PATCH 1/2] Add missing initialization.
@ 2026-04-13 09:28  Antonin Houska <[email protected]>
  0 siblings, 0 replies; 970+ messages in thread

From: Antonin Houska @ 2026-04-13 09:28 UTC (permalink / raw)

Backend can check the variable before the worker could have the chance to
initialize it.
---
 src/backend/commands/repack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c
index 58e3867246f..67364cc60e3 100644
--- a/src/backend/commands/repack.c
+++ b/src/backend/commands/repack.c
@@ -3311,6 +3311,7 @@ start_repack_decoding_worker(Oid relid)
 		BUFFERALIGN(REPACK_ERROR_QUEUE_SIZE);
 	seg = dsm_create(size, 0);
 	shared = (DecodingWorkerShared *) dsm_segment_address(seg);
+	shared->initialized = false;
 	shared->lsn_upto = InvalidXLogRecPtr;
 	shared->done = false;
 	SharedFileSetInit(&shared->sfs, seg);
-- 
2.47.3


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0002-Remove-dsm_seg-from-DecodingWorkerShared.patch



^ permalink  raw  reply  [nested|flat] 970+ messages in thread


end of thread, other threads:[~2026-04-13 09:28 UTC | newest]

Thread overview: 970+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-06-05 08:16 RE: Imperfect solutions Christopher Kings-Lynne <[email protected]>
2001-06-05 08:51 ` Karel Zak <[email protected]>
2001-06-05 08:55   ` Christopher Kings-Lynne <[email protected]>
2001-06-05 15:38     ` Stephan Szabo <[email protected]>
2001-06-06 01:44       ` Christopher Kings-Lynne <[email protected]>
2001-06-06 01:58         ` Stephan Szabo <[email protected]>
2001-06-06 02:09           ` Christopher Kings-Lynne <[email protected]>
2001-06-06 04:54 ` Bruce Momjian <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 1/2] Add missing initialization. Antonin Houska <[email protected]>
2026-04-13 09:28 [PATCH 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