postgresql/src/test/recovery/t
Amit Kapila b29cbd3da4 Fix the handling of the failover option in subscription commands.
Do not allow ALTER SUBSCRIPTION ... SET (failover = on|off) in a
transaction block as the changed failover option of the slot can't be
rolled back. For the same reason, we refrain from altering the replication
slot's failover property if the subscription is created with a valid
slot_name and create_slot=false.

Reprted-by: Kuroda Hayato
Author: Hou Zhijie
Reviewed-by: Shveta Malik, Bertrand Drouvot, Kuroda Hayato
Discussion: https://postgr.es/m/OS0PR01MB57165542B09DFA4943830BF294082@OS0PR01MB5716.jpnprd01.prod.outlook.com
2024-04-23 12:22:30 +05:30
..
001_stream_rep.pl Make spelling of cancelled/cancellation consistent 2024-01-26 12:38:15 +01:00
002_archiving.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
003_recovery_targets.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
004_timeline_switch.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
005_replay_delay.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
006_logical_decoding.pl Introduce a new GUC 'standby_slot_names'. 2024-03-08 08:10:45 +05:30
007_sync_rep.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
008_fsm_truncation.pl freespace: Don't return blocks past the end of the main fork. 2024-04-13 08:34:20 -07:00
009_twophase.pl Rework redundant code in subtrans.c 2024-03-05 12:09:18 +01:00
010_logical_decoding_timelines.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
012_subtransactions.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
013_crash_restart.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
014_unlogged_reinit.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
015_promotion_pages.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
016_min_consistency.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
017_shm.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
018_wal_optimize.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
019_replslot_limit.pl Allow synced slots to have their inactive_since. 2024-04-05 09:48:49 +05:30
020_archive_status.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
021_row_visibility.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
022_crash_temp_files.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
023_pitr_prepared_xact.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
024_archive_recovery.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
025_stuck_on_old_timeline.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
026_overwrite_contrecord.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
027_stream_regress.pl Add copyright notices to a few perl scripts that don't have them 2024-01-05 13:15:50 +00:00
028_pitr_timelines.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
029_stats_restart.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
030_stats_cleanup_replica.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
031_recovery_conflict.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
032_relfilenode_reuse.pl Add copyright notices to a few perl scripts that don't have them 2024-01-05 13:15:50 +00:00
033_replay_tsp_drops.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
034_create_database.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
035_standby_logical_decoding.pl Track invalidation_reason in pg_replication_slots. 2024-03-22 13:52:05 +05:30
036_truncated_dropped.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
037_invalid_database.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
038_save_logical_slots_shutdown.pl Fix a random failure in 038_save_logical_slots_shutdown.pl. 2024-03-13 08:33:26 +05:30
039_end_of_wal.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
040_standby_failover_slots_sync.pl Fix the handling of the failover option in subscription commands. 2024-04-23 12:22:30 +05:30
041_checkpoint_at_promote.pl Add PostgreSQL::Test::Cluster::wait_for_event() 2024-03-04 10:27:50 +09:00
042_low_level_backup.pl Add basic TAP tests for the low-level backup method, take two 2024-03-15 08:29:54 +09:00
cp_history_files Make all Perl warnings fatal 2023-12-29 18:20:00 +01:00