Hi, Seems I don't have a web proxy today, so I can't go and see tickets.
With the patch below, Table(..., autoload=True) will raise an exception if the table name isn't found. This doesn't use .has_table(); instead, we raise an NoSuchTableError out if the table we've autoloaded has no columns -- seemed like a good tradeoff: I can't see a possible use for a table with no columns, and I've saved a round-trip to the server.
However, PostgreSQL does allow me to create a table with no columns. What do you think?
-- Luís Bruno
sqlalchemy-autoload.patch
Description: Binary data
_______________________________________________ Sqlalchemy-users mailing list Sqlalchemy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users