Re: bugfix: BUG #15477: Procedure call with named inout refcursorparameter - "invalid input syntax for type boolean"

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: bugfix: BUG #15477: Procedure call with named inout refcursorparameter - "invalid input syntax for type boolean"
Дата
Msg-id CAFj8pRCF3pia7gScM0jh7vY9rEuqN7fbnUV+jymRTLEXZeRDNA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: bugfix: BUG #15477: Procedure call with named inout refcursorparameter - "invalid input syntax for type boolean"  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: bugfix: BUG #15477: Procedure call with named inout refcursorparameter - "invalid input syntax for type boolean"  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers


čt 1. 11. 2018 v 13:10 odesílatel Pavel Stehule <pavel.stehule@gmail.com> napsal:


čt 1. 11. 2018 v 13:00 odesílatel Pavel Stehule <pavel.stehule@gmail.com> napsal:
Hi

The processing of named parameters inside CALL statement is not correct.

It is my code :-/. I am sorry

Attached patch fix it.

This still doesn't fix INOUT variables with default value - so is not fully correct, but in this moment, it can show, where is a core of this issue.

This version disallow INOUT default variables from plpgsql

Probably correct solution is saving transformed arguments after expand_function_arguments and iterating over transformed argument list, not over
original argument list.




Regards

Pavel

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

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Commitfest 2018-11
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: Commitfest 2018-11