Re: How can this be legal syntax

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Asko Oja <ascoja(at)gmail(dot)com>
Cc: pgsql <pgsql-sql(at)postgresql(dot)org>
Subject: Re: How can this be legal syntax
Date: 2008-12-16 17:05:43
Message-ID: 20081216170543.GN4741@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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. The functions posted by Josh Drake yesterday about
constraint exclusion had something like

select * from into temp table ...;
(temp is a declared variable name).

Nasty.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2008-12-16 17:16:26 Re: How can this be legal syntax
Previous Message Asko Oja 2008-12-16 17:00:18 How can this be legal syntax