Re: Trouble with NEW - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Trouble with NEW
Date
Msg-id 50075915.1070108@gmail.com
Whole thread Raw
In response to Re: Trouble with NEW  ("Bob Pawley" <rjpawley@shaw.ca>)
Responses Re: Trouble with NEW  ("Bob Pawley" <rjpawley@shaw.ca>)
List 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 by date:

Previous
From: Adrian Klaver
Date:
Subject: 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
Next
From: Tom Lane
Date:
Subject: Re: [BUGS] main log encoding problem