plpgsql mixing variable in SELECT INTO ? - Mailing list pgsql-general

From Ben-Nes Michael
Subject plpgsql mixing variable in SELECT INTO ?
Date
Msg-id 002301c2e17d$042a5540$aa0f5ac2@canaan.co.il
Whole thread Raw
Responses Re: plpgsql mixing variable in SELECT INTO ?
List pgsql-general
Hi All

I think i found the problem to my previous thread.

Since upgrading to 7.3.2 from 7.3.1 im having the following problem.


The following line works:

SELECT * INTO lft_rgt FROM forum_tree WHERE node_id = v_node_id;
RETURN lft_rgt.f_id;

The following lines dont work ( variable get mixed ), lft_rgt.f_id return
lft_rgt.rgt :(

SELECT lft, rgt, f_id INTO lft_rgt FROM forum_tree WHERE node_id =
v_node_id;
RETURN lft_rgt.f_id;


Any ideas ?
maybe bug ?



--------------------------
Canaan Surfing Ltd.
Internet Service Providers
Ben-Nes Michael - Manager
Tel: 972-4-6991122
Fax: 972-4-6990098
http://sites.canaan.co.il
--------------------------


pgsql-general by date:

Previous
From: "Munteanu Gabriel"
Date:
Subject: wal-debug
Next
From: Martijn van Oosterhout
Date:
Subject: Re: wal-debug