postgresql/src/test
Alexander Korotkov 3f74daa8df Fix memory leak in IndexScan node with reordering
Fix ExecReScanIndexScan() to free the referenced tuples while emptying the
priority queue.  Backpatch to all supported versions.

Discussion: https://postgr.es/m/CAHqSB9gECMENBQmpbv5rvmT3HTaORmMK3Ukg73DsX5H7EJV7jw%40mail.gmail.com
Author: Aliaksandr Kalenik
Reviewed-by: Tom Lane, Alexander Korotkov
Backpatch-through: 10
2022-02-14 04:17:04 +03:00
..
authentication Replace Test::More plans with done_testing 2022-02-11 20:54:44 +01:00
examples Update copyright for 2022 2022-01-07 19:04:57 -05:00
isolation Simplify lazy_scan_heap's handling of scanned pages. 2022-02-11 14:32:17 -08:00
kerberos Replace Test::More plans with done_testing 2022-02-11 20:54:44 +01:00
ldap Replace Test::More plans with done_testing 2022-02-11 20:54:44 +01:00
locale Update copyright for 2022 2022-01-07 19:04:57 -05:00
mb Fix MB regression tests for WAL-logging of hash indexes. 2017-03-15 07:25:36 -04:00
modules Revert "Add TAP test to automate the equivalent of check_guc" 2022-02-12 12:53:59 +09:00
perl Replace Test::More plans with done_testing 2022-02-11 20:54:44 +01:00
recovery Remove REGRESS_OUTPUTDIR environment variable. 2022-02-14 12:52:57 +13:00
regress Fix memory leak in IndexScan node with reordering 2022-02-14 04:17:04 +03:00
ssl Replace Test::More plans with done_testing 2022-02-11 20:54:44 +01:00
subscription Replace Test::More plans with done_testing 2022-02-11 20:54:44 +01:00
Makefile Revert per-index collation version tracking feature. 2021-05-07 21:10:11 +12:00
README Remove the option to build thread_test.c outside configure. 2020-10-21 12:08:48 -04: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