public inbox for [email protected]  
help / color / mirror / Atom feed
pgsql: Fix logical decoding test to correctly check slot removal on sta
6+ messages / 1 participants
[nested] [flat]

* pgsql: Fix logical decoding test to correctly check slot removal on sta
@ 2025-04-04 04:36  Fujii Masao <[email protected]>
  0 siblings, 0 replies; 6+ messages in thread

From: Fujii Masao @ 2025-04-04 04:36 UTC (permalink / raw)
  To: [email protected]

Fix logical decoding test to correctly check slot removal on standby.

The regression test for logical decoding verifies whether a logical slot
is correctly dropped on a standby when its associated database is dropped.
However, the test mistakenly retrieved slot information from the primary
instead of the standby, causing incorrect behavior.

This commit fixes the issue by ensuring the test correctly checks the slot
on the standby.

Back-patch to all supported versions.

Author: Hayato Kuroda <[email protected]>
Reviewed-by: Fujii Masao <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 13

Branch
------
master

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

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



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

* pgsql: Fix logical decoding test to correctly check slot removal on sta
@ 2025-04-04 04:36  Fujii Masao <[email protected]>
  0 siblings, 0 replies; 6+ messages in thread

From: Fujii Masao @ 2025-04-04 04:36 UTC (permalink / raw)
  To: [email protected]

Fix logical decoding test to correctly check slot removal on standby.

The regression test for logical decoding verifies whether a logical slot
is correctly dropped on a standby when its associated database is dropped.
However, the test mistakenly retrieved slot information from the primary
instead of the standby, causing incorrect behavior.

This commit fixes the issue by ensuring the test correctly checks the slot
on the standby.

Back-patch to all supported versions.

Author: Hayato Kuroda <[email protected]>
Reviewed-by: Fujii Masao <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 13

Branch
------
REL_17_STABLE

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

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



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

* pgsql: Fix logical decoding test to correctly check slot removal on sta
@ 2025-04-04 04:36  Fujii Masao <[email protected]>
  0 siblings, 0 replies; 6+ messages in thread

From: Fujii Masao @ 2025-04-04 04:36 UTC (permalink / raw)
  To: [email protected]

Fix logical decoding test to correctly check slot removal on standby.

The regression test for logical decoding verifies whether a logical slot
is correctly dropped on a standby when its associated database is dropped.
However, the test mistakenly retrieved slot information from the primary
instead of the standby, causing incorrect behavior.

This commit fixes the issue by ensuring the test correctly checks the slot
on the standby.

Back-patch to all supported versions.

Author: Hayato Kuroda <[email protected]>
Reviewed-by: Fujii Masao <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 13

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/65e9418abe39486e9a7ee4f23c17b5e9fa16e972

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



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

* pgsql: Fix logical decoding test to correctly check slot removal on sta
@ 2025-04-04 04:36  Fujii Masao <[email protected]>
  0 siblings, 0 replies; 6+ messages in thread

From: Fujii Masao @ 2025-04-04 04:36 UTC (permalink / raw)
  To: [email protected]

Fix logical decoding test to correctly check slot removal on standby.

The regression test for logical decoding verifies whether a logical slot
is correctly dropped on a standby when its associated database is dropped.
However, the test mistakenly retrieved slot information from the primary
instead of the standby, causing incorrect behavior.

This commit fixes the issue by ensuring the test correctly checks the slot
on the standby.

Back-patch to all supported versions.

Author: Hayato Kuroda <[email protected]>
Reviewed-by: Fujii Masao <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 13

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7b565bad85b7c4c491fd04d316c6a1b93a3f66c4

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



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

* pgsql: Fix logical decoding test to correctly check slot removal on sta
@ 2025-04-04 04:37  Fujii Masao <[email protected]>
  0 siblings, 0 replies; 6+ messages in thread

From: Fujii Masao @ 2025-04-04 04:37 UTC (permalink / raw)
  To: [email protected]

Fix logical decoding test to correctly check slot removal on standby.

The regression test for logical decoding verifies whether a logical slot
is correctly dropped on a standby when its associated database is dropped.
However, the test mistakenly retrieved slot information from the primary
instead of the standby, causing incorrect behavior.

This commit fixes the issue by ensuring the test correctly checks the slot
on the standby.

Back-patch to all supported versions.

Author: Hayato Kuroda <[email protected]>
Reviewed-by: Fujii Masao <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 13

Branch
------
REL_14_STABLE

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

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



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

* pgsql: Fix logical decoding test to correctly check slot removal on sta
@ 2025-04-04 04:37  Fujii Masao <[email protected]>
  0 siblings, 0 replies; 6+ messages in thread

From: Fujii Masao @ 2025-04-04 04:37 UTC (permalink / raw)
  To: [email protected]

Fix logical decoding test to correctly check slot removal on standby.

The regression test for logical decoding verifies whether a logical slot
is correctly dropped on a standby when its associated database is dropped.
However, the test mistakenly retrieved slot information from the primary
instead of the standby, causing incorrect behavior.

This commit fixes the issue by ensuring the test correctly checks the slot
on the standby.

Back-patch to all supported versions.

Author: Hayato Kuroda <[email protected]>
Reviewed-by: Fujii Masao <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 13

Branch
------
REL_13_STABLE

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

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



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


end of thread, other threads:[~2025-04-04 04:37 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-04-04 04:36 pgsql: Fix logical decoding test to correctly check slot removal on sta Fujii Masao <[email protected]>
2025-04-04 04:36 pgsql: Fix logical decoding test to correctly check slot removal on sta Fujii Masao <[email protected]>
2025-04-04 04:36 pgsql: Fix logical decoding test to correctly check slot removal on sta Fujii Masao <[email protected]>
2025-04-04 04:36 pgsql: Fix logical decoding test to correctly check slot removal on sta Fujii Masao <[email protected]>
2025-04-04 04:37 pgsql: Fix logical decoding test to correctly check slot removal on sta Fujii Masao <[email protected]>
2025-04-04 04:37 pgsql: Fix logical decoding test to correctly check slot removal on sta Fujii Masao <[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