mirror of
https://github.com/postgres/postgres.git
synced 2025-08-27 07:42:10 +03:00
Add support for multi-row VALUES clauses as part of INSERT statements
(e.g. "INSERT ... VALUES (...), (...), ...") and elsewhere as allowed by the spec. (e.g. similar to a FROM clause subselect). initdb required. Joe Conway and Tom Lane.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/catalog/heap.c,v 1.311 2006/07/31 20:09:00 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/catalog/heap.c,v 1.312 2006/08/02 01:59:44 joe Exp $
|
||||
*
|
||||
*
|
||||
* INTERFACE ROUTINES
|
||||
@@ -1841,7 +1841,7 @@ cookDefault(ParseState *pstate,
|
||||
/*
|
||||
* Coerce the expression to the correct type and typmod, if given. This
|
||||
* should match the parser's processing of non-defaulted expressions ---
|
||||
* see updateTargetListEntry().
|
||||
* see transformAssignedExpr().
|
||||
*/
|
||||
if (OidIsValid(atttypid))
|
||||
{
|
||||
|
Reference in New Issue
Block a user