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

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

From: jwp(at)pgfoundry(dot)org (James William Pye)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - be: If the call's iterator hits the end, it will return NULL
Date: 2005-08-10 18:52:20
Message-ID: 20050810185220.8CA551125F50@pgfoundry.org (view raw or flat)
Thread:
Lists: 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

Next:From: James William PyeDate: 2005-08-10 19:06:50
Subject: python - be: Only do handler based Python identification.
Previous:From: User T-ishiiDate: 2005-08-10 12:11:12
Subject: pgpool - pgpool: If invalid non-switch args are given (for example,

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