Infrastructure for deducing Param types from context, in the same way

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

Commit: aa282d44464df0fbfa0672dc353d36734ec1092e
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-04-29T22:13:11Z
Releases: 7.4.1
Infrastructure for deducing Param types from context, in the same way
that the types of untyped string-literal constants are deduced (ie,
when coerce_type is applied to 'em, that's what the type must be).
Remove the ancient hack of storing the input Param-types array as a
global variable, and put the info into ParseState instead.  This touches
a lot of files because of adjustment of routine parameter lists, but
it's really not a large patch.  Note: PREPARE statement still insists on
exact specification of parameter types, but that could easily be relaxed
now, if we wanted to do so.

Files