pgsql: Check that result tupdesc has exactly 1 column in return_next sc
pgsql: Check that result tupdesc has exactly 1 column in return_next sc
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
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. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/4ecd1974377ffb4d6d72874ba14fcd23965b1792 Modified Files -------------- src/pl/tcl/pltcl.c | 4 ++++ 1 file changed, 4 insertions(+)