pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix slot names in the standby slot removal check
5+ messages / 1 participants
[nested] [flat]

* pgsql: Fix slot names in the standby slot removal check
@ 2026-10-22 00:26  Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 5+ messages in thread

From: Fujii Masao @ 2026-10-22 00:26 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix slot names in the standby slot removal check

The DROP DATABASE test in 035_standby_logical_decoding.pl created
slots with the prefix "drop_db_" but checked for their removal using
"drop_db". Sined names never existed, the checks passed
even if the actual slots remained.

Fix this by using the correct prefix when checking for slot removal.

Backpatch to v16, where this testce the check was introduced.

Author: Fujii Masao <masao.fujii@gmail.com>
Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Discussion: https://postgr.es/m/CAHGQGwEnuLZnFRF5CzK47n_hXT-iCXnzirxG2v_V-=QNMLkpEA@mail.gmail.com
Backpatch-through: 16

Branch
------
master

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

Modified Files
--------------
src/test/recovery/t/035_standby_logical_decoding.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



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

* pgsql: Fix slot names in the standby slot removal check
@ 2026-10-22 00:26  Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 5+ messages in thread

From: Fujii Masao @ 2026-10-22 00:26 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix slot names in the standby slot removal check

The DROP DATABASE test in 035_standby_logical_decoding.pl created
slots with the prefix "drop_db_" but checked for their removal using
"drop_db". Sined names never existed, the checks passed
even if the actual slots remained.

Fix this by using the correct prefix when checking for slot removal.

Backpatch to v16, where this testce the check was introduced.

Author: Fujii Masao <masao.fujii@gmail.com>
Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Discussion: https://postgr.es/m/CAHGQGwEnuLZnFRF5CzK47n_hXT-iCXnzirxG2v_V-=QNMLkpEA@mail.gmail.com
Backpatch-through: 16

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/9e3c7a062ea99123f66d06fecb8955c4340bd54c

Modified Files
--------------
src/test/recovery/t/035_standby_logical_decoding.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



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

* pgsql: Fix slot names in the standby slot removal check
@ 2026-10-22 00:26  Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 5+ messages in thread

From: Fujii Masao @ 2026-10-22 00:26 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix slot names in the standby slot removal check

The DROP DATABASE test in 035_standby_logical_decoding.pl created
slots with the prefix "drop_db_" but checked for their removal using
"drop_db". Sined names never existed, the checks passed
even if the actual slots remained.

Fix this by using the correct prefix when checking for slot removal.

Backpatch to v16, where this testce the check was introduced.

Author: Fujii Masao <masao.fujii@gmail.com>
Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Discussion: https://postgr.es/m/CAHGQGwEnuLZnFRF5CzK47n_hXT-iCXnzirxG2v_V-=QNMLkpEA@mail.gmail.com
Backpatch-through: 16

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1b0888f69c679dbb06a0521082c06aa4b6e3bdb2

Modified Files
--------------
src/test/recovery/t/035_standby_logical_decoding.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



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

* pgsql: Fix slot names in the standby slot removal check
@ 2026-10-22 00:27  Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 5+ messages in thread

From: Fujii Masao @ 2026-10-22 00:27 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix slot names in the standby slot removal check

The DROP DATABASE test in 035_standby_logical_decoding.pl created
slots with the prefix "drop_db_" but checked for their removal using
"drop_db". Sined names never existed, the checks passed
even if the actual slots remained.

Fix this by using the correct prefix when checking for slot removal.

Backpatch to v16, where this testce the check was introduced.

Author: Fujii Masao <masao.fujii@gmail.com>
Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Discussion: https://postgr.es/m/CAHGQGwEnuLZnFRF5CzK47n_hXT-iCXnzirxG2v_V-=QNMLkpEA@mail.gmail.com
Backpatch-through: 16

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4ec789e1aa5006ac7c66f9e06fb3495f32459301

Modified Files
--------------
src/test/recovery/t/035_standby_logical_decoding.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



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

* pgsql: Fix slot names in the standby slot removal check
@ 2026-10-22 00:27  Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 5+ messages in thread

From: Fujii Masao @ 2026-10-22 00:27 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix slot names in the standby slot removal check

The DROP DATABASE test in 035_standby_logical_decoding.pl created
slots with the prefix "drop_db_" but checked for their removal using
"drop_db". Sined names never existed, the checks passed
even if the actual slots remained.

Fix this by using the correct prefix when checking for slot removal.

Backpatch to v16, where this testce the check was introduced.

Author: Fujii Masao <masao.fujii@gmail.com>
Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Discussion: https://postgr.es/m/CAHGQGwEnuLZnFRF5CzK47n_hXT-iCXnzirxG2v_V-=QNMLkpEA@mail.gmail.com
Backpatch-through: 16

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5c0095e7274c3f4ef863ea795feb7d61d50795d2

Modified Files
--------------
src/test/recovery/t/035_standby_logical_decoding.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



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


end of thread, other threads:[~2026-10-22 00:27 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-10-22 00:26 pgsql: Fix slot names in the standby slot removal check Fujii Masao <fujii@postgresql.org>
2026-10-22 00:26 pgsql: Fix slot names in the standby slot removal check Fujii Masao <fujii@postgresql.org>
2026-10-22 00:26 pgsql: Fix slot names in the standby slot removal check Fujii Masao <fujii@postgresql.org>
2026-10-22 00:27 pgsql: Fix slot names in the standby slot removal check Fujii Masao <fujii@postgresql.org>
2026-10-22 00:27 pgsql: Fix slot names in the standby slot removal check Fujii Masao <fujii@postgresql.org>

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