postgresql/src/test
David Rowley eb7d043c9b Fix incorrect logic for determining safe WindowAgg run conditions
The logic added in 9d9c02ccd to determine when a qual can be used as a
WindowClause run condition failed to correctly check for subqueries in the
qual.  This was being done correctly for normal subquery qual pushdowns,
it's just that 9d9c02ccd failed to follow the lead on that.

This also fixes various other cases where transforming the qual into a
WindowClause run condition in the subquery should have been disallowed.

Bug: #17826
Reported-by: Anban Company
Discussion: https://postgr.es/m/17826-7d8750952f19a5f5@postgresql.org
Backpatch-through: 15, where 9d9c02ccd was introduced.
2023-03-17 15:49:53 +13:00
..
authentication libpq: Add support for require_auth to control authorized auth methods 2023-03-14 14:00:05 +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 libpq: Add support for require_auth to control authorized auth methods 2023-03-14 14:00:05 +09:00
ldap tests: Minimize syslog activity by slapd 2023-03-16 19:38:02 -07:00
locale Update copyright for 2023 2023-01-02 15:00:37 -05:00
mb
modules Add .gitignore to ldap_password_func 2023-03-16 09:36:01 +09: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 Fix incorrect logic for determining safe WindowAgg run conditions 2023-03-17 15:49:53 +13:00
ssl libpq: Add support for require_auth to control authorized auth methods 2023-03-14 14:00:05 +09:00
subscription Add the testcases for 89e46da5e5. 2023-03-15 09:31:44 +05:30
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

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