Check that result tupdesc has exactly 1 column in return_next scalar case.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 15 Nov 2016 21:48:12 +0000 (16:48 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 15 Nov 2016 21:48:19 +0000 (16:48 -0500)
commit4ecd1974377ffb4d6d72874ba14fcd23965b1792
treec093889aca6aab232796496c08d6f9be369daad5
parentb40b4dd9e10ea701c8d47ccba9407fc32ed384e5
Check that result tupdesc has exactly 1 column in return_next scalar case.

This should always be true, but since we're relying on a tuple descriptor
passed from outside pltcl itself, let's check.  Per a gripe from Coverity.
src/pl/tcl/pltcl.c