On Mon, Aug 12, 2002 at 09:40:12AM -0400, Tom Lane wrote: > The NULL is perfectly correct: that's the initial value of the plpgsql > variable. The above is essentially the same as saying > login := login; > It is not "incorrect".
That's exactly what I thought is the reason. I just wonder if there's a way to make this kind of stuff more obvious for instance by using :login for the variable as with embedded SQL. IMO the actual behaviour, while of course correct, is a little bit confusing. Michael -- Michael Meskes [EMAIL PROTECTED] Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL! ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly