]> granicus.if.org Git - postgresql/commit
Fix over-optimistic caching in fetch_array_arg_replace_nulls().
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 25 Feb 2015 19:19:13 +0000 (14:19 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 25 Feb 2015 19:19:13 +0000 (14:19 -0500)
commit77903ede08845e55bd2a6c99b52d8da6926d6e84
tree4c289d409854d436bfc2290c826ddb22edc55eb9
parente9f1c01b71dcd11c86fc8516c06dae2e784b96fd
Fix over-optimistic caching in fetch_array_arg_replace_nulls().

When I rewrote this in commit 56a79a869bedc4bf6c35853642694cc0b0594dd2,
I forgot that it's possible for the input array type to change from one
call to the next (this can happen when applying the function to
pg_statistic columns, for instance).  Fix that.
src/backend/utils/adt/array_userfuncs.c