for loop help - Mailing list pgsql-novice

From Luis Silva
Subject for loop help
Date
Msg-id BAY117-DAV104D1A9250CB686ABAB6DDB5CA0@phx.gbl
Whole thread Raw
In response to Trigger problem  ("Luis Silva" <lfs12@hotmail.com>)
Responses Re: for loop help
List pgsql-novice
Hi! Is it possible to know in a loop in pl/pgsql if the next element is de
last? exemple

DECLARE
asds Record;

BEGIN

FOR  asds IN EXECUTE 'select id from user_table' LOOP

    IF asds.id.next = last THEN
                ......
    END IF;

END LOOP;

tks

pgsql-novice by date:

Previous
From: doris riedl
Date:
Subject: WAL to get back data in 7.4.
Next
From: Tom Lane
Date:
Subject: Re: WAL to get back data in 7.4.