| From: | tgl(at)postgresql(dot)org (Tom Lane) |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql-server/ oc/src/sgml/spi.sgml rc/backend/ ... |
| Date: | 2003-01-21 22:06:12 |
| Message-ID: | 20030121220612.904D847620A@postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl(at)postgresql(dot)org 03/01/21 17:06:12
Modified files:
doc/src/sgml : spi.sgml
src/backend/executor: spi.c
src/backend/tcop: dest.c
src/include/access: printtup.h
src/pl/plpgsql/src: pl_exec.c
Log message:
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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2003-01-21 22:06:36 | pgsql-server/ oc/src/sgml/Tag: oc/src/sgml/REL ... |
| Previous Message | Michael Meskes | 2003-01-21 20:01:13 | pgsql-server/src/interfaces/ecpg ChangeLog pre ... |