summaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeFunctionscan.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-01-21 22:06:36 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-01-21 22:06:36 +0000
commit1f74045675156f9e1dea4f66932ddf0a58180936 (patch)
treed9464710b2d87dd23ec0e6096e471cab1cacea8a /src/backend/executor/nodeFunctionscan.c
parent08b798e2ba6314b8a5bc520487802c5e4d81efa1 (diff)
Fix coredump problem in plpgsql's RETURN NEXT. When a SELECT INTO
that's selecting into a RECORD variable returns zero rows, make it assign an all-nulls row to the RECORD; this is consistent with what happens when the SELECT INTO target is not a RECORD. In support of this, tweak the SPI code so that a valid tuple descriptor is returned even when a SPI select returns no rows.
Diffstat (limited to 'src/backend/executor/nodeFunctionscan.c')
0 files changed, 0 insertions, 0 deletions