Re: trigger and plpgsq help needed

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: trigger and plpgsq help needed
Дата
Msg-id 506356E4.5040008@gmail.com
обсуждение исходный текст
Ответ на trigger and plpgsq help needed  ("SUNDAY A. OLUTAYO" <olutayo@sadeeb.com>)
Список pgsql-general
On 09/26/2012 09:42 AM, SUNDAY A. OLUTAYO wrote:
> Dear all,
>
> I have issue with the red portion function below;
>
> This IF last_id IS NULL THEN suppose to test if last_id is NULL, that is
> the select query did not found it
> then execute the rest of the red sql but it always fail to insert the
> *NEW.amount *into*amount*, every other things fine.

Is there a NEW.amount?

>
> Kindly help out.
>
>
>
>
> Thanks,
>
> Sunday Olutayo
>
>


--
Adrian Klaver
adrian.klaver@gmail.com


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

Предыдущее
От: Scot Kreienkamp
Дата:
Сообщение: Re: idle in transaction query makes server unresponsive
Следующее
От: Jim Wilson
Дата:
Сообщение: Odd Invalid type name error in postgresql 9.1