Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group