python - be: Only do handler based Python identification.

From: jwp(at)pgfoundry(dot)org (James William Pye)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - be: Only do handler based Python identification.
Date: 2005-08-10 19:06:50
Message-ID: 20050810190650.5E2DB112648D@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Only do handler based Python identification. While LanguageOid based
identification avoids hitting the fmgrinfo once, it's not a significant enough
improvement to justify special casing it. Multiple Languages can be bound to
the handler, so only keeping track of one language only provides an optimization
for that language(first loid).

Modified Files:
--------------
be/include/pypg:
cis.h (r1.4 -> r1.5)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/include/pypg/cis.h.diff?r1=1.4&r2=1.5)
be/src:
function.c (r1.7 -> r1.8)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/function.c.diff?r1=1.7&r2=1.8)
module.c (r1.19 -> r1.20)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/module.c.diff?r1=1.19&r2=1.20)
pl.c (r1.24 -> r1.25)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/pl.c.diff?r1=1.24&r2=1.25)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2005-08-10 19:30:06 pgsql: Add new FAQ information.
Previous Message James William Pye 2005-08-10 18:52:20 python - be: If the call's iterator hits the end, it will return NULL