Michael Bayer ha scritto:
On Nov 20, 2007, at 4:35 AM, Manlio Perillo wrote:
I have asked on the psycopg2 list.
psycopg2 connection has a notices attribute.
try:
conn = db.connect()
metadata.create_all(bind=conn)
print conn.connection.connection.notices
finally:
Michael Bayer ha scritto:
On Nov 16, 2007, at 1:54 PM, Manlio Perillo wrote:
There is an error in the schema, b.id is of type String instead of
type
Integer.
Unfortunately PostgreSQL does not raises an error, but just a warning.
In fact I have found such a problem in one of my
On Nov 20, 2007, at 4:35 AM, Manlio Perillo wrote:
I have asked on the psycopg2 list.
psycopg2 connection has a notices attribute.
try:
conn = db.connect()
metadata.create_all(bind=conn)
print conn.connection.connection.notices
finally:
metadata.drop_all()
On Nov 16, 2007, at 1:54 PM, Manlio Perillo wrote:
There is an error in the schema, b.id is of type String instead of
type
Integer.
Unfortunately PostgreSQL does not raises an error, but just a warning.
In fact I have found such a problem in one of my programs only after a
pg_dump +