Make fixed_paramref_hook behave properly when there are 'unused' slots

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

Commit: 43a9a2fb89e67f61c50419264a767e7356824067
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-01-13T01:17:07Z
Releases: 9.0.0
Make fixed_paramref_hook behave properly when there are 'unused' slots
in the parameter array.  Noted while experimenting with an example
from Pavel.  This wouldn't come up in normal use, but it ought to honor
the specification that a parameter array can have unused slots.

Files

PathChange+/−
src/backend/parser/parse_param.c modified +4 −3