For declared cursor in block is used unnamed portal, and for identification
isn't used name but portal pointer. It solve problem with nested block with
local cursor's declaration not unique name as outer declared cursor. Named
portals are supported still for refcursors.
Opened portal identified by portal pointer is automaticly closed when block is
finalised. We cannot solve closing portals when is exception, because rollback
to savepoint close all opened portals from nested blocks.
pl_exec.c (r1.22 -> r1.23)
plpgpsm.h (r1.19 -> r1.20)
pgsql-committers by date
|Next:||From: Bruce Momjian||Date: 2007-01-06 21:58:22|
|Subject: pgsql: Add: > o Consider parsing the -c string into individual queries |
|Previous:||From: Bruce Momjian||Date: 2007-01-06 20:21:29|
|Subject: pgsql: Apply fix so pow() and exp() ERANGE is used only if result is not |