[COMMITTERS] pgsql: Tighten up relation kind checks for extended statistics
В списке pgsql-committers по дате отправления:
| От | Alvaro Herrera |
|---|---|
| Тема | [COMMITTERS] pgsql: Tighten up relation kind checks for extended statistics |
| Дата | |
| Msg-id | E1d0Dii-0005Zd-SM@gemulon.postgresql.org обсуждение исходный текст |
| Список | pgsql-committers |
Tighten up relation kind checks for extended statistics We were accepting creation of extended statistics only for regular tables, but they can usefully be created for foreign tables, partitioned tables, and materialized views, too. Allow those cases. While at it, make sure all the rejected cases throw a consistent error message, and add regression tests for the whole thing. Author: David Rowley, Álvaro Herrera Discussion: https://postgr.es/m/CAKJS1f-BmGo410bh5RSPZUvOO0LhmHL2NYmdrC_Jm8pk_FfyCA@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/8c5cdb7f4f6e1d6a6104cb58ce4f23453891651b Modified Files -------------- doc/src/sgml/ref/create_statistics.sgml | 2 +- src/backend/commands/statscmds.c | 10 +++++---- src/bin/pg_dump/pg_dump.c | 9 ++++++-- src/test/regress/expected/stats_ext.out | 40 +++++++++++++++++++++++++++++++++ src/test/regress/sql/stats_ext.sql | 38 +++++++++++++++++++++++++++++++ 5 files changed, 92 insertions(+), 7 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера