Re: pgsql: Coerce 'unknown' type parameters to the right type in the
В списке pgsql-committers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: pgsql: Coerce 'unknown' type parameters to the right type in the |
| Дата | |
| Msg-id | 19030.1282139839@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | pgsql: Coerce 'unknown' type parameters to the right type in the (heikki@postgresql.org (Heikki Linnakangas)) |
| Ответы |
Re: pgsql: Coerce 'unknown' type parameters to the right
type in the
|
| Список | pgsql-committers |
heikki@postgresql.org (Heikki Linnakangas) writes:
> Log Message:
> -----------
> Coerce 'unknown' type parameters to the right type in the fixed-params
> parse_analyze() function. That case occurs e.g with PL/pgSQL
> EXECUTE ... USING 'stringconstant'.
> The coercion with a CoerceViaIO node. The result is similar to the coercion
> via input function performed for unknown constants in coerce_type(),
> except that this happens at runtime.
Unfortunately, this entirely fails to enforce the rule that an unknown
Param be coerced the same way everywhere. You'd need a cleanup pass as
well, cf check_variable_parameters().
regards, tom lane
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера