Rewrite parser's handling of INSERT ... SELECT so that processing

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 7f76eab140e703b7847b107245a669e2010886c0
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 1999-07-19T00:26:20Z
Releases: 7.1.1
Rewrite parser's handling of INSERT ... SELECT so that processing
of the SELECT part of the statement is just like a plain SELECT.  All
INSERT-specific processing happens after the SELECT parsing is done.
This eliminates many problems, e.g. INSERT ... SELECT ... GROUP BY using
the wrong column labels.  Ensure that DEFAULT clauses are coerced to
the target column type, whether or not stored clause produces the right
type.  Substantial cleanup of parser's array support.

Files