]> granicus.if.org Git - postgresql/commit
Make fixed_paramref_hook behave properly when there are 'unused' slots
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 13 Jan 2010 01:17:07 +0000 (01:17 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 13 Jan 2010 01:17:07 +0000 (01:17 +0000)
commit43a9a2fb89e67f61c50419264a767e7356824067
tree0774c1d69469ff47ca12ce00bb32a59998b9ce15
parentb2aab424675f85799c08d637a71365aeb377fffe
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.
src/backend/parser/parse_param.c