postgresql/src/test
Amit Kapila 4d26d93ff7 Improve one of the test cases in 035_standby_logical_decoding.pl.
The test to ensure that decoding changes via logical slot from another
database will fail was incorrectly done on the primary node instead of on
the standby node.

In the passing, make the test to wait for replay catchup by using
wait_for_replay_catchup(). This will make it consistent with the way we
wait at other places in the test.

Author: Shi yu
Reviewed-by: Bertrand Drouvot, Amit Kapila
Discussion: https://postgr.es/m/OSZPR01MB6310B0A507A0F2A2D379F38CFD6A9@OSZPR01MB6310.jpnprd01.prod.outlook.com
2023-04-28 08:45:19 +05:30
..
authentication Make libpq error messages consistent for translation 2023-04-21 10:23:38 +02:00
examples Update copyright for 2023 2023-01-02 15:00:37 -05:00
icu initdb: derive encoding from locale for ICU; similar to libc. 2023-03-10 10:51:24 -08:00
isolation Fix some typos and some incorrectly duplicated words 2023-04-18 14:03:49 +12:00
kerberos Fix various typos 2023-04-18 13:23:23 +12:00
ldap Fix various typos 2023-04-18 13:23:23 +12:00
locale Update copyright for 2023 2023-01-02 15:00:37 -05:00
mb
modules Remove unused global variable 2023-04-21 11:41:58 +12:00
perl Add a test to verify that subscription to the standby works. 2023-04-27 14:22:53 +05:30
recovery Improve one of the test cases in 035_standby_logical_decoding.pl. 2023-04-28 08:45:19 +05:30
regress Display 'password_required' option for \dRs+ command. 2023-04-24 08:37:58 +05:30
ssl Fix errormessage for missing system CA in OpenSSL 3.1 2023-04-19 12:54:58 +02:00
subscription Fix various typos and incorrect/outdated name references 2023-04-19 13:50:33 +12:00
Makefile Refactor PG_TEST_EXTRA logic in autoconf build 2022-09-20 11:24:16 -07:00
README Remove the option to build thread_test.c outside configure. 2020-10-21 12:08:48 -04:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -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