plpgsql: Plan type mismatch error

Поиск
Список
Период
Сортировка
От Brendan Jurd
Тема plpgsql: Plan type mismatch error
Дата
Msg-id 37ed240d0710152131g55485927s87519a55080c668a@mail.gmail.com
обсуждение исходный текст
Ответы Re: plpgsql: Plan type mismatch error
Список pgsql-hackers
Hi hackers,

I recently ran afoul of the following error message:

ERROR: type of "varname" does not match that when preparing the plan

IMO the message isn't quite in English and doesn't explain the problem
very well.  I'd like to change it to something more like

ERROR: the type of "varname" does not match the type expected by the planner
HINT: Ensure that the type does not change between function calls, or
use EXECUTE instead

Comments?

Regards,
BJ


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

Предыдущее
От: ITAGAKI Takahiro
Дата:
Сообщение: V3 protocol is slower than V2
Следующее
От: Tom Lane
Дата:
Сообщение: Re: V3 protocol is slower than V2