Re: NEW used in a query that is not in a rule

Поиск
Список
Период
Сортировка
От Gaetano Mendola
Тема Re: NEW used in a query that is not in a rule
Дата
Msg-id 4147692F.6000304@bigfoot.com
обсуждение исходный текст
Ответ на Re: NEW used in a query that is not in a rule  (Oliver Elphick <olly@lfix.co.uk>)
Список pgsql-hackers
Oliver Elphick wrote:

> 
>> My guess is that you are having this problem because you are executing a
>> query referring to NEW rather than using it directly. 

This for sure, I'm able to use NEW directly but I don't know at definition
time wich field of NEW I have to use.

>> I don't think you can refer to NEW in a command string given to
>> EXECUTE.  You probably need to set up an IF...ELSIF...ELSE...END IF
>> structure to get the value to put into the command string.

I can't because the combination are not a limited number.





Regards
Gaetano Mendola



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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: APR 1.0 released
Следующее
От: Neil Conway
Дата:
Сообщение: assertion failure w/ valgrind