pgsql: Fix plpgsql so that when a local variable has no initial-value

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix plpgsql so that when a local variable has no initial-value
Date: 2007-02-01 19:22:07
Message-ID: 20070201192207.C69799F9D4D@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix plpgsql so that when a local variable has no initial-value expression,
an error will be thrown correctly if the variable is of a NOT NULL domain.
Report and almost-correct fix from Sergiy Vyshnevetskiy (bug #2948).

Modified Files:
--------------
pgsql/src/pl/plpgsql/src:
pl_exec.c (r1.186 -> r1.187)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/pl_exec.c.diff?r1=1.186&r2=1.187)
pgsql/src/test/regress/expected:
domain.out (r1.38 -> r1.39)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/domain.out.diff?r1=1.38&r2=1.39)
pgsql/src/test/regress/sql:
domain.sql (r1.21 -> r1.22)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/domain.sql.diff?r1=1.21&r2=1.22)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-02-01 19:23:00 pgsql: Fix plpgsql so that when a local variable has no initial-value
Previous Message Neil Conway 2007-02-01 19:18:14 pgsql: Backpatch last night's fix for broken markup to the 8.2 branch.