pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix attach of a previously-detached injection point.
2+ messages / 1 participants
[nested] [flat]

* pgsql: Fix attach of a previously-detached injection point.
@ 2024-08-22 07:09  Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Noah Misch @ 2024-08-22 07:09 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix attach of a previously-detached injection point.

It's normal for the name in a free slot to match the new name.  The
max_inuse mechanism kept simple cases from reaching the problem.  The
problem could appear when index 0 was the previously-detached entry and
index 1 is in use.  Back-patch to v17, where this code first appeared.

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6b1f78d90b5f2475d968e16febee8f9d43730d63

Modified Files
--------------
src/backend/utils/misc/injection_point.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)



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

* pgsql: Fix attach of a previously-detached injection point.
@ 2024-08-22 07:09  Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Noah Misch @ 2024-08-22 07:09 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix attach of a previously-detached injection point.

It's normal for the name in a free slot to match the new name.  The
max_inuse mechanism kept simple cases from reaching the problem.  The
problem could appear when index 0 was the previously-detached entry and
index 1 is in use.  Back-patch to v17, where this code first appeared.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a36aa223ec447276bf7050ab9ec6d974cafdf6c4

Modified Files
--------------
src/backend/utils/misc/injection_point.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)



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


end of thread, other threads:[~2024-08-22 07:09 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-08-22 07:09 pgsql: Fix attach of a previously-detached injection point. Noah Misch <noah@leadboat.com>
2024-08-22 07:09 pgsql: Fix attach of a previously-detached injection point. Noah Misch <noah@leadboat.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox