From: | Neil Conway <neilc(at)samurai(dot)com> |
---|---|
To: | PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | fix for PL/PgSQL segfault |
Date: | 2003-01-13 19:03:48 |
Message-ID: | 1042484628.386.18.camel@tokyo |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
This patch fixes a segfault in the support for set-returning functions
PL/PgSQL that occurs when an undefined RECORD variable is returned with
RETURN NEXT. The fix is the one suggested by Tom on -hackers: a row of
NULL values is returned.
I've added a regression test for this behavior.
After the appropriate review, IMHO this patch should be applied to both
HEAD and REL_7_3_STABLE branches.
Cheers,
Neil
--
Neil Conway <neilc(at)samurai(dot)com> || PGP Key ID: DB3C29FC
Attachment | Content-Type | Size |
---|---|---|
plpgsql_seg-3.patch | text/x-patch | 4.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Kris Jurka | 2003-01-13 19:12:09 | JDBC MetaData getImportedKeys query |
Previous Message | Peter Eisentraut | 2003-01-13 19:02:35 | Re: targetlist functions part 1 (was [HACKERS] targetlist |