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:23:00
Message-ID: 20070201192300.8118E9F9D4D@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).

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
pgsql/src/pl/plpgsql/src:
pl_exec.c (r1.180.2.2 -> r1.180.2.3)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/pl_exec.c.diff?r1=1.180.2.2&r2=1.180.2.3)
pgsql/src/test/regress/expected:
domain.out (r1.38 -> r1.38.2.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/domain.out.diff?r1=1.38&r2=1.38.2.1)
pgsql/src/test/regress/sql:
domain.sql (r1.21 -> r1.21.2.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/domain.sql.diff?r1=1.21&r2=1.21.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message User Okbob 2007-02-01 20:05:41 orafce - orafce: prototype of utl_file package
Previous Message Tom Lane 2007-02-01 19:22:07 pgsql: Fix plpgsql so that when a local variable has no initial-value