Re: How can this be legal syntax - Mailing list pgsql-sql

From Tom Lane
Subject Re: How can this be legal syntax
Date
Msg-id 3668.1229447786@sss.pgh.pa.us
Whole thread Raw
In response to Re: How can this be legal syntax  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: How can this be legal syntax
List pgsql-sql
Alvaro Herrera <alvherre@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


pgsql-sql by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: How can this be legal syntax
Next
From: Judith Altamirano
Date:
Subject: pg_clog/0202 Error