pgsql: Check that result tupdesc has exactly 1 column in return_next sc
Started by Tom Laneover 9 years ago1 messagescomitters
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(+)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers