Trouble with NEW - Mailing list pgsql-general

From Bob Pawley
Subject Trouble with NEW
Date
Msg-id F5F67B2F97124FCEAFF12454B4E5B6B8@BobPC
Whole thread Raw
Responses Re: Trouble with NEW
Re: Trouble with NEW
List pgsql-general
Hi
 
I would appreciate some fresh eyes on this expression -
 
update p_id.fluids
    set fluid_short =
    (select shape.text
    from  shape, num_search
    where (select st_within(shape.wkb_geometry, st_geometryn(num_search.the_geom4, 1)) = 'true')   
    and text !~ '[0-9]')
    where p_id.fluids.fluid_id = NEW.fluid_id;
 
I receive an error ”record “new” has no field “fluid_id” “.
 
Bob

pgsql-general by date:

Previous
From: Alban Hertroys
Date:
Subject: Re: Chicken/egg problem with range types
Next
From: Rob Sargent
Date:
Subject: Re: Trouble with NEW