Re: Re: [HACKERS] extra syntax on INSERT - Mailing list pgsql-general

From Tod McQuillin
Subject Re: Re: [HACKERS] extra syntax on INSERT
Date
Msg-id Pine.GSO.4.33.0106012123000.29707-100000@sysadmin
Whole thread Raw
In response to Re: [HACKERS] extra syntax on INSERT  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Thu, 31 May 2001, Tom Lane wrote:

> Limin Liu <limin@pumpkinnet.com> writes:
> > I just realized that INSERT allows us to have more syntax than the
> > manual said.  I wonder if we want to elimiate it or keep it with more
> > documentation on the INSERT statment?
>
> This will likely go away when we get around to upgrading INSERT to the
> full SQL spec --- certainly I'd feel no compunction about removing any
> non-SQL syntax that happens to be supported now, if it gets in the way
> of spec compliance.

Are you talking about allowing multiple rows in one insert, like this?

INSERT into foo VALUES ((1, 2, 3), (4, 5, 6), (7, 8, 9))

That would be a nice feature to have, and I think it's consistent with
SQL-92.
--
Tod McQuillin




pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: can't re-start postgresql
Next
From: Gerald Gutierrez
Date:
Subject: Toggling logging output