Re: INSERT Issues

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Rod Taylor" <rod(dot)taylor(at)inquent(dot)com>
Cc: "Hackers List" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: INSERT Issues
Date: 2001-04-06 14:53:26
Message-ID: 25433.986568806@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Rod Taylor" <rod(dot)taylor(at)inquent(dot)com> writes:
> INSERT INTO table [ ( column [, ...] ) ]
> { DEFAULT VALUES | VALUES ( expression [, ...] ) | SELECT query }

The documentation is wrong here, not the code. SQL92 defines the syntax
as

<insert statement> ::=
INSERT INTO <table name> <insert columns and source>

<insert columns and source> ::=
[ <left paren> <insert column list> <right paren> ] <query expression>
| DEFAULT VALUES

<insert column list> ::= <column name list>

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ross J. Reedstrom 2001-04-06 14:54:25 Re: INSERT Issues
Previous Message Peter Eisentraut 2001-04-06 14:39:22 Re: Integer to float function