Alvaro Herrera <alvhe...@commandprompt.com> writes:
> Asko Oja escribió:
>> I was quite amazed to find that this piece of code actually works while
>> reviewing code.
>> I would prefer if it gave an error :)

> Yeah, me too.

As the plpgsql docs say, "The INTO clause can appear almost anywhere in
the SQL command".  You can write some pretty ugly code if you choose to
:-(.  Although the docs also threaten to tighten this up, it's been like
that for so long that I'm worried about how much user code we'll break
if we do.

                        regards, tom lane

-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql

Reply via email to