pgsql/ rc/pl/plpgsql/src/pl_exec.c oc/src/sgml ...

From: Tom Lane <tgl(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/ rc/pl/plpgsql/src/pl_exec.c oc/src/sgml ...
Date: 2001-05-28 19:33:25
Message-ID: 200105281933.f4SJXP544663@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /home/projects/pgsql/cvsroot
Module name: pgsql
Changes by: tgl(at)hub(dot)org 01/05/28 15:33:24

Modified files:
src/pl/plpgsql/src: pl_exec.c
doc/src/sgml : plsql.sgml

Log message:
Cause plpgsql's PERFORM to behave according to its documentation,
which says that PERFORM will execute any SELECT query and discard the
result. The former implementation would in fact raise an error if the
result contained more than one row or more than one column.

Also, change plpgsql's error-logging mechanism to emit the additional
messages about error location at NOTICE rather than DEBUG level. This
allows them to be seen by the client without having to dig into the
postmaster log file (which may be nonexistent or inaccessible by the
client).

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2001-05-28 21:58:32 pgsql/src/backend/utils/adt char.c
Previous Message Tom Lane 2001-05-28 17:14:08 Re: pgsql/src include/nodes/execnodes.h include/ex ...