pgsql: Handle domains when checking for recursive inclusion of composit
В списке pgsql-committers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | pgsql: Handle domains when checking for recursive inclusion of composit |
| Дата | |
| Msg-id | E1QSGWs-0000U5-3q@gemulon.postgresql.org обсуждение исходный текст |
| Список | pgsql-committers |
Handle domains when checking for recursive inclusion of composite types. We need this now because we allow domains over arrays, and we'll probably allow domains over composites pretty soon, which makes the problem even more obvious. Although domains over arrays also exist in previous versions, this does not need to be back-patched, because the coding used in older versions successfully "looked through" domains over arrays. The problem is exposed by not treating a domain as having a typelem. Problem identified by Noah Misch, though I did not use his patch, since it would require additional work to handle domains over composites that way. This approach is more future-proof. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/aff97b1f4e3630069a370be663b847c777b58319 Modified Files -------------- src/backend/catalog/heap.c | 13 ++++++++++--- src/test/regress/expected/alter_table.out | 3 +++ src/test/regress/sql/alter_table.sql | 2 ++ 3 files changed, 15 insertions(+), 3 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера