Re: Attribute a value to a record - Mailing list pgsql-general

From Albe Laurenz
Subject Re: Attribute a value to a record
Date
Msg-id D960CB61B694CF459DCFB4B0128514C203938143@exadv11.host.magwien.gv.at
Whole thread Raw
In response to Attribute a value to a record  (Florent THOMAS <mailinglist@tdeo.fr>)
Responses Re: Attribute a value to a record  (Florent THOMAS <mailinglist@tdeo.fr>)
List pgsql-general
Florent THOMAS wrote:
> I'm currently running on pg8.4 and I have a trigger with a loop :
> 
> FOR ventilation_local IN (SELECT * FROM XXX) LOOP
>     IF (mytest) THEN
>         ventilation_local.myfield:=mynewvalue;
>     END IF;
> END LOOP;
> 
> my problem is that the record doen't accept the new value.
> I've chek before the value that is not null.
> Is it a fonctionnality accepted in pg8.4 on record type?

What do you mean by "the record doen't accept the new value"?

Can you show us some SQL statements that exhibit the problem?

Yours,
Laurenz Albe

pgsql-general by date:

Previous
From: Greg Stark
Date:
Subject: Re: surprised by non-strict array_append
Next
From: Florent THOMAS
Date:
Subject: Re: Attribute a value to a record