psycopg2/sandbox/typecrash.py
2005-11-28 03:44:14 +00:00

8 lines
190 B
Python

import psycopg2.extensions
print dir(psycopg2._psycopg)
print psycopg2.extensions.new_type(
(600,), "POINT", lambda oids, name, fun: None)
print "ciccia ciccia"
print psycopg2._psycopg