python - be: If the call's iterator hits the end, it will return NULL - Mailing list pgsql-committers

From jwp@pgfoundry.org (James William Pye)
Subject python - be: If the call's iterator hits the end, it will return NULL
Date
Msg-id 20050810185220.8CA551125F50@pgfoundry.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
If the call's iterator hits the end, it will return NULL without exception, so
handle this case simply by returning None. (Probably more context dependent
logic should be used to identify what should actually happen here. However, for now
this prevents a common invalid ERROR from being thrown.)

Modified Files:
--------------
    be/src/call:
        pl.c (r1.9 -> r1.10)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/call/pl.c.diff?r1=1.9&r2=1.10)

pgsql-committers by date:

Previous
From: t-ishii@pgfoundry.org (User T-ishii)
Date:
Subject: pgpool - pgpool: If invalid non-switch args are given (for example,
Next
From: jwp@pgfoundry.org (James William Pye)
Date:
Subject: python - be: Only do handler based Python identification.