postgresql/src/test
Andrew Dunstan 9f8377f7a2 Add a DEFAULT option to COPY FROM
This allows for a string which if an input field matches causes the
column's default value to be inserted. The advantage of this is that
the default can be inserted in some rows and not others, for which
non-default data is available.

The file_fdw extension is also modified to take allow use of this
option.

Israel Barth Rubio

Discussion: https://postgr.es/m/CAO_rXXAcqesk6DsvioOZ5zmeEmpUN5ktZf-9=9yu+DTr0Xr8Uw@mail.gmail.com
2023-03-13 10:01:56 -04:00
..
authentication Support the same patterns for pg-user in pg_ident.conf as in pg_hba.conf 2023-01-20 11:21:55 +09: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 concurrent update issues with MERGE. 2023-03-13 10:22:22 +00:00
kerberos For Kerberos testing, disable reverse DNS lookup 2023-03-09 10:32:49 -05:00
ldap Doc: make src/test/*/README match current reality. 2023-02-07 14:30:30 -05:00
locale Update copyright for 2023 2023-01-02 15:00:37 -05:00
mb Fix MB regression tests for WAL-logging of hash indexes. 2017-03-15 07:25:36 -04:00
modules Mark unsafe_tests module as not runnable with installcheck 2023-03-12 09:00:32 -04:00
perl Add wait_for_replay_catchup wrapper to Cluster.pm 2023-02-13 11:52:19 +01:00
recovery Force testing of query jumbling in 027_stream_regress.pl 2023-03-03 10:41:51 +09:00
regress Add a DEFAULT option to COPY FROM 2023-03-13 10:01:56 -04:00
ssl meson: Make auto the default of the ssl option 2023-03-13 07:04:11 +01:00
subscription Fix various typos in code and tests 2023-02-09 14:43:53 +09:00
Makefile Refactor PG_TEST_EXTRA logic in autoconf build 2022-09-20 11:24:16 -07:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -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