python - be: Allow Oid_FromPyObject to implicity use a type's Oid Check

From: jwp(at)pgfoundry(dot)org (James William Pye)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - be: Allow Oid_FromPyObject to implicity use a type's Oid Check
Date: 2005-04-19 19:55:49
Message-ID: 20050419195549.E67DC1FB6E3D@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Allow Oid_FromPyObject to implicity use a type's Oid
Check the result of PyNumber_Int and return InvalidOid on error.

This should be more stingy about what it will take, but for now it's convenient.

Modified Files:
--------------
be/src:
conv.c (r1.3 -> r1.4)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/conv.c.diff?r1=1.3&r2=1.4)

Browse pgsql-committers by date

  From Date Subject
Next Message James William Pye 2005-04-19 20:07:52 python - be: Forget about NotPyPgTransaction Remove owner checks as
Previous Message James William Pye 2005-04-19 19:47:56 python - be: New constants and IST interfaces Add subtransaction