pgsql: Fix LIMIT/OFFSET for null limit values. - Mailing list pgsql-committers

From [email protected] (Tom Lane)
Subject pgsql: Fix LIMIT/OFFSET for null limit values.
Date
Msg-id [email protected]
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Fix LIMIT/OFFSET for null limit values.  This worked before 8.2 but was broken
by the change to make limit values int8 instead of int4.  (Specifically, you
can do DatumGetInt32 safely on a null value, but not DatumGetInt64.)  Per
bug #2803 from Greg Johnson.

Modified Files:
--------------
    pgsql/src/backend/executor:
        nodeLimit.c (r1.27 -> r1.28)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/nodeLimit.c.diff?r1=1.27&r2=1.28)

pgsql-committers by date:

Previous
From: [email protected] (User Am)
Date:
Subject: press - pr: remove the broken link to the local web site (RO presskit)
Next
From: [email protected] (Tom Lane)
Date:
Subject: pgsql: Fix LIMIT/OFFSET for null limit values.