postgresql/src/test
Amit Kapila b47c50e566 Fix intermittent BF failure in 040_standby_failover_slots_sync.
Commit 0d2d4a0ec3 introduced a test that verifies replication slot
synchronization to a standby server via SQL API. However, the test did not
configure synchronized_standby_slots. Without this setting, logical
failover slots can advance beyond the physical replication slot, causing
intermittent synchronization failures.

Author: Hou Zhijie <houzj.fnst@fujitsu.com>
Discussion: https://postgr.es/m/TY4PR01MB16907DF70205308BE918E0D4494ABA@TY4PR01MB16907.jpnprd01.prod.outlook.com
2025-12-18 05:06:55 +00:00
..
authentication In username-map substitution, cope with more than one \1. 2025-07-13 13:52:32 -04:00
examples libpq: Deprecate pg_int64. 2025-03-25 21:40:00 +13:00
icu Update copyright for 2025 2025-01-01 11:21:55 -05:00
isolation Implement ALTER TABLE ... SPLIT PARTITION ... command 2025-12-14 13:29:38 +02:00
kerberos Replace deprecated log_connections values in docs and tests 2025-05-22 17:14:54 -04:00
ldap Simplify newline handling in two TAP tests 2025-10-28 08:26:42 +09:00
locale Update copyright for 2025 2025-01-01 11:21:55 -05:00
mb
modules Fix const correctness in pgstat data serialization callbacks 2025-12-18 07:33:40 +09:00
perl Widen MultiXactOffset to 64 bits 2025-12-09 13:53:03 +02:00
postmaster Make postmaster 003_start_stop.pl test less flaky 2025-12-17 16:23:13 +02:00
recovery Fix intermittent BF failure in 040_standby_failover_slots_sync. 2025-12-18 05:06:55 +00:00
regress Rename regress.so's .mo file to postgresql-regress-VERSION.mo. 2025-12-17 14:10:42 -05:00
ssl ssl: Add connection and reload tests for key passphrases 2025-11-26 14:24:34 +01:00
subscription Rename two columns in pg_stat_subscription_stats. 2025-11-18 03:58:55 +00:00
Makefile Add PG_TEST_EXTRA configure option to the Make builds 2024-11-04 14:09:38 +02:00
meson.build Update copyright for 2025 2025-01-01 11:21:55 -05:00
README

PostgreSQL tests
================

This directory contains a variety of test infrastructure as well as some of the
tests in PostgreSQL. Not all tests are here -- in particular, there are more in
individual contrib/ modules and in src/bin.

Not all these tests get run by "make check". Check src/test/Makefile to see
which tests get run automatically.

authentication/
  Tests for authentication (but see also below)

examples/
  Demonstration programs for libpq that double as regression tests via
  "make check"

isolation/
  Tests for concurrent behavior at the SQL level

kerberos/
  Tests for Kerberos/GSSAPI authentication and encryption

ldap/
  Tests for LDAP-based authentication

locale/
  Sanity checks for locale data, encodings, etc

mb/
  Tests for multibyte encoding (UTF-8) support

modules/
  Extensions used only or mainly for test purposes, generally not suitable
  for installing in production databases

perl/
  Infrastructure for Perl-based TAP tests

recovery/
  Test suite for recovery and replication

regress/
  PostgreSQL's main regression test suite, pg_regress

ssl/
  Tests to exercise and verify SSL certificate handling

subscription/
  Tests for logical replication