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

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix plpgsql so that when a local variable has no initial-value
Date
Msg-id 20070201192300.8118E9F9D4D@postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix plpgsql so that when a local variable has no initial-value
Next
From: okbob@pgfoundry.org (User Okbob)
Date:
Subject: orafce - orafce: prototype of utl_file package