Re: Trouble with NEW

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Trouble with NEW
Дата
Msg-id 50075915.1070108@gmail.com
обсуждение исходный текст
Ответ на Re: Trouble with NEW  ("Bob Pawley" <rjpawley@shaw.ca>)
Ответы Re: Trouble with NEW  ("Bob Pawley" <rjpawley@shaw.ca>)
Список pgsql-general
On 07/18/2012 03:20 PM, Bob Pawley wrote:
> When I substitute new.fluid_id for the actual fluid)id the expression
> returns the right value.

Huh? I thought that was what was causing the problem. From your original
post:

"
where p_id.fluids.fluid_id = NEW.fluid_id;

I receive an error ”record “new” has no field “fluid_id” “.

"
Per previous suggestion can we see?:

1)The trigger definition

2) The function.



--
Adrian Klaver
adrian.klaver@gmail.com

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: data from the table is getting dropped when I am restarting my application after making changes in the objects created in my application in play
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] main log encoding problem