Re: function prepared plan

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: function prepared plan
Дата
в 01:44:45
Msg-id
13729.1053571544@sss.pgh.pa.us
Ответ на
function prepared plan (Franco Bruno Borghesi)
Список
Дерево обсуждения
function prepared plan Franco Bruno Borghesi <franco@akyasociados.com.ar>
Re: function prepared plan Tom Lane <tgl@sss.pgh.pa.us>
Re: function prepared plan Franco Bruno Borghesi <franco@akyasociados.com.ar>
Re: function prepared plan Tom Lane <tgl@sss.pgh.pa.us>
Re: function prepared plan Franco Bruno Borghesi <franco@akyasociados.com.ar>
Franco Bruno Borghesi  writes:
> Hi everyone! I have a little problem, and was wondering if anyone
> could help me.

Change the EXECUTEd query strings so that all the variants return TEXT,
instead of trying to cast after-the-fact.

If that doesn't seem reasonable, you might be better off working in
pltcl.  plpgsql is designed on the assumption that it can cache query
plans from one execution to the next, which is a good speed optimization
but does require a certain amount of stability of datatypes.  If you'd
prefer to kiss off speed for flexibility, pltcl is your tool.

plpython might work too, but I'm not very familiar with it and couldn't
say for certain.
		regards, tom lane

В списке pgsql-sql по дате отправления
От: Randall Lucas
Дата:
От: phd9110
Дата:
Сообщение: Index Selection Problem
FAQ