postgresql/src/test
Peter Eisentraut 013c1178fd Remove the NODROP SLOT option from DROP SUBSCRIPTION
It turned out this approach had problems, because a DROP command should
not have any options other than CASCADE and RESTRICT.  Instead, always
attempt to drop the slot if there is one configured, but also add an
ALTER SUBSCRIPTION action to set the slot to NONE.

Author: Petr Jelinek <petr.jelinek@2ndquadrant.com>
Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/29431.1493730652@sss.pgh.pa.us
2017-05-09 10:20:42 -04:00
..
authentication Remove support for password_encryption='off' / 'plain'. 2017-05-08 11:26:07 +03:00
examples Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
isolation Move isolationtester's is-blocked query into C code for speed. 2017-04-10 10:26:54 -04:00
locale Clean up Perl code according to perlcritic 2017-03-27 08:18:22 -04:00
mb Fix MB regression tests for WAL-logging of hash indexes. 2017-03-15 07:25:36 -04:00
modules Remove the NODROP SLOT option from DROP SUBSCRIPTION 2017-05-09 10:20:42 -04:00
perl Fix TAP infrastructure to support Mingw better 2017-04-23 09:21:38 -04:00
recovery Additional tests for subtransactions in recovery 2017-04-27 14:26:57 +02:00
regress Remove the NODROP SLOT option from DROP SUBSCRIPTION 2017-05-09 10:20:42 -04:00
ssl Change 'diag' to 'note' in TAP tests 2017-03-28 20:38:06 -04:00
subscription Remove the NODROP SLOT option from DROP SUBSCRIPTION 2017-05-09 10:20:42 -04:00
thread Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
Makefile Add TAP tests for password-based authentication methods. 2017-03-17 11:34:16 +02:00
README Add TAP tests for password-based authentication methods. 2017-03-17 11:34:16 +02: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

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

isolation/
  Tests for concurrent behavior at the SQL level

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

thread/
  A thread-safety-testing utility used by configure