psycopg2/sandbox/typecrash.py

8 lines
190 B
Python
Raw Normal View History

2005-11-28 06:44:14 +03:00
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