pgsql: Add more tests for CREATE TABLE AS with WITH NO DATA

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Add more tests for CREATE TABLE AS with WITH NO DATA
Дата
Msg-id E1grXT8-0003ww-RR@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Add more tests for CREATE TABLE AS with WITH NO DATA

The relation creation is done at executor startup, however the main
regression test suite is lacking scenarios where no data is inserted
which is something that can happen when using EXECUTE or EXPLAIN with
CREATE TABLE AS and WITH NO DATA.

Some patches are worked on to reshape the way CTAS relations are
created, so this makes sure that we do not miss some query patterns
already supported.

Reported-by: Andreas Karlsson
Author: Michael Paquier
Reviewed-by: Andreas Karlsson
Discussion: https://postgr.es/m/20190206091817.GB14980@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/537898bd81bd8bd3650846e0abde4298ff1373da

Modified Files
--------------
src/test/regress/expected/prepare.out     | 7 +++++++
src/test/regress/expected/select_into.out | 7 ++++---
src/test/regress/sql/prepare.sql          | 3 +++
src/test/regress/sql/select_into.sql      | 7 ++++---
4 files changed, 18 insertions(+), 6 deletions(-)


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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: pgsql: Avoid amcheck inline compression false positives.
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Align better test output regex with grammar in pg_dump TAPtests