postgresql/src
Tomas Vondra d8cfa82d51 Improve test coverage for multi-column MCV lists
The regression tests for extended statistics were not testing a couple
of important cases for the MCV lists:

  * IS NOT NULL clauses - We did have queries with IS NULL clauses, but
    not the negative case.

  * clauses with variable on the right - All the clauses had the Var on
    the left, i.e. (Var op Const), so this adds (Const op Var) too.

  * columns with fixed-length types passed by reference - All columns
    were using either by-value or varlena types, so add a test with
    UUID columns too. This matters for (de)serialization.

  * NULL-only dimension - When one of the columns contains only NULL
    values, we treat it a a special case during (de)serialization.

  * arrays containing NULL - When the constant parameter contains NULL
    value, we need to handle it correctly during estimation, for all
    IN, ANY and ALL clauses.

Discussion: https://www.postgresql.org/message-id/flat/20200113230008.g67iyk4cs3xbnjju@development
Author: Tomas Vondra
2020-03-14 23:09:40 +01:00
..
backend Rearrange pseudotypes.c to get rid of duplicative code. 2020-03-14 15:31:44 -04:00
bin Add pg_dump support for ALTER obj DEPENDS ON EXTENSION 2020-03-11 16:54:54 -03:00
common Allow Unicode escapes in any server encoding, not only UTF-8. 2020-03-06 14:17:43 -05:00
fe_utils Fix bug in pg_basebackup -F plain -R. 2020-02-12 09:08:22 +09:00
include Restructure polymorphic-type resolution in funcapi.c. 2020-03-14 14:42:22 -04:00
interfaces Fix issues around .pgpass file. 2020-03-05 13:00:38 +09:00
makefiles Remove libpq.rc, use win32ver.rc for libpq 2020-01-15 15:06:12 +01:00
pl Remove utils/acl.h from catalog/objectaddress.h 2020-03-10 10:27:00 +01:00
port Remove win32ver.rc from version_stamp.pl 2020-03-10 11:21:41 +01:00
template
test Improve test coverage for multi-column MCV lists 2020-03-14 23:09:40 +01:00
timezone Require stdint.h 2020-02-21 09:20:32 +01:00
tools Remove win32ver.rc from version_stamp.pl 2020-03-10 11:21:41 +01:00
tutorial
.gitignore
DEVELOPERS
Makefile
Makefile.global.in Add PostgreSQL home page to --help output 2020-02-28 13:12:21 +01:00
Makefile.shlib Add PostgreSQL home page to --help output 2020-02-28 13:12:21 +01:00
nls-global.mk