diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-01-21 22:06:36 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-01-21 22:06:36 +0000 |
commit | 1f74045675156f9e1dea4f66932ddf0a58180936 (patch) | |
tree | d9464710b2d87dd23ec0e6096e471cab1cacea8a /src/backend/executor/nodeUnique.c | |
parent | 08b798e2ba6314b8a5bc520487802c5e4d81efa1 (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/nodeUnique.c')
0 files changed, 0 insertions, 0 deletions