postgresql/src/test
Tom Lane 78212f2101 Convert tsqueryin and tsvectorin to report errors softly.
This is slightly tedious because the adjustments cascade through
a couple of levels of subroutines, but it's not very hard.
I chose to avoid changing function signatures more than absolutely
necessary, by passing the escontext pointer in existing structs
where possible.

tsquery's nuisance NOTICEs about empty queries are suppressed in
soft-error mode, since they're not errors and we surely don't want
them to be shown to the user anyway.  Maybe that whole behavior
should be reconsidered.

Discussion: https://postgr.es/m/3824377.1672076822@sss.pgh.pa.us
2022-12-27 12:00:31 -05:00
..
authentication Add copyright notices to meson files 2022-12-20 07:54:39 -05:00
examples Remove configure probe for sys/select.h. 2022-08-14 00:09:47 +12:00
icu Add copyright notices to meson files 2022-12-20 07:54:39 -05:00
isolation Add copyright notices to meson files 2022-12-20 07:54:39 -05:00
kerberos Add copyright notices to meson files 2022-12-20 07:54:39 -05:00
ldap Use existing SSL certs in LDAP tests instead of generating them 2022-12-20 10:02:49 -05:00
locale pycodestyle (PEP 8) cleanup in Python scripts 2022-03-09 10:54:20 +01:00
mb Fix MB regression tests for WAL-logging of hash indexes. 2017-03-15 07:25:36 -04:00
modules Fix end LSN determination in recently added test 2022-12-23 17:27:05 +01:00
perl Add copyright notices to meson files 2022-12-20 07:54:39 -05:00
recovery Add copyright notices to meson files 2022-12-20 07:54:39 -05:00
regress Convert tsqueryin and tsvectorin to report errors softly. 2022-12-27 12:00:31 -05:00
ssl Use existing SSL certs in LDAP tests instead of generating them 2022-12-20 10:02:49 -05:00
subscription Add 'logical_decoding_mode' GUC. 2022-12-26 08:58:16 +05:30
Makefile Refactor PG_TEST_EXTRA logic in autoconf build 2022-09-20 11:24:16 -07:00
meson.build Add copyright notices to meson files 2022-12-20 07:54:39 -05:00
README Remove the option to build thread_test.c outside configure. 2020-10-21 12:08:48 -04:00

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