pgsql: Add tests for error message generation in partition tupleroutin

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Add tests for error message generation in partition tupleroutin
Дата
Msg-id E1hNczw-0006hq-EV@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Add tests for error message generation in partition tuple routing

This adds extra tests for the error message generated for partition
tuple routing in the executor, using more than three levels of
partitioning including partitioned tables with no partitions.  These
tests have been added to fix CVE-2019-10129 on REL_11_STABLE.  HEAD has
no active bugs in this area, but it lacked coverage.

Author: Michael Paquier
Reviewed-by: Noah Misch
Security: CVE-2019-10129

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/91248608a61d5504f8ac46534136de9b3717fed2

Modified Files
--------------
src/test/regress/expected/insert.out | 15 +++++++++++++++
src/test/regress/sql/insert.sql      |  7 +++++++
2 files changed, 22 insertions(+)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Dean Rasheed
Дата:
Сообщение: pgsql: Use checkAsUser for selectivity estimator checks, if it's set.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Translation updates