[sqlalchemy] Re: postgres, autoload, and odd datatypes

2007-02-16 Thread Jonathan Ellis
I'd prefer to not have them loaded at all (maybe with log.warning) than to have them loaded with a known-to-be-incorrect type. If you really don't want to manipulate them from Python, not loading them is the Right Thing. If you do want to manipulate them then the Right Thing is to add the

[sqlalchemy] Re: postgres, autoload, and odd datatypes

2007-02-16 Thread Michael Bayer
OK, i propose we make the KeyError more friendly, and add an option skip_unknown_types to Table to indicate just to skip the columns. if we really want the default fallback type, id prefer an option for that too, like default_type=sometype and it will shove that type in for the unknown