Re: Attribute a value to a record

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Florent THOMAS *EXTERN*" <mailinglist(at)tdeo(dot)fr>, "postgesql general" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Attribute a value to a record
Date: 2010-02-03 09:05:56
Message-ID: D960CB61B694CF459DCFB4B0128514C203938143@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Wang, Mary Y 2010-02-03 09:35:16 PQendcopy:resetting connection Problem and Cannot insert a duplicate key into unique index
Previous Message Greg Stark 2010-02-03 08:30:32 Re: surprised by non-strict array_append