Currently I have this code which does the job, but it feels extremely dirty:
https://gist.github.com/ThiefMaster/f7a7f7651245ec97a256

My `has_extension` function executes SQL to check if the given postgres 
extension is installed or not.
Something like DDL execute_if would be perfect, but from what I've seen 
it's not available on the Index class.

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to