pgsql: Improve the error message for an inappropriate column definition
В списке pgsql-committers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | pgsql: Improve the error message for an inappropriate column definition |
| Дата | |
| Msg-id | E1kKjbe-0007tX-Np@gemulon.postgresql.org обсуждение |
| Ответы |
Re: pgsql: Improve the error message for an inappropriate column definition
|
| Список | pgsql-committers |
Improve the error message for an inappropriate column definition list. The existing message about "a column definition list is only allowed for functions returning "record"" could be given in some cases where it was fairly confusing; in particular, a function with multiple OUT parameters *does* return record according to pg_proc. Break it down into a couple more cases to deliver a more on-point complaint. Per complaint from Bruce Momjian. Discussion: https://postgr.es/m/798909.1600562993@sss.pgh.pa.us Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/ce90f075f0d831ca4085ba73891b7da2a2f7047e Modified Files -------------- src/backend/parser/parse_relation.c | 44 +++++++++++++++++++++++++++----- src/test/regress/expected/rangefuncs.out | 13 ++++++++++ src/test/regress/sql/rangefuncs.sql | 5 ++++ 3 files changed, 55 insertions(+), 7 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера