Re: [sqlalchemy] Support for index operator classes in postgresql.

2011-06-20 Thread Michael Bayer
OK maybe a quick test for test/dialect/test_postgresql.py , also does the way the string is being formatted there change the look of existing Index constructs (extra space ?) If you can post as a ticket at http://www.sqlalchemy.org/trac/newticket (log in as guest/guest) else i'll almost certain

[sqlalchemy] Support for index operator classes in postgresql.

2011-06-20 Thread Filip Zyzniewski - Tefnet
Hi, I've attached a tiny patch which adds support for index specification like this: sqlalchemy.schema.Index('ix_name', 'column', postgresql_ops = {'column': 'text_pattern_ops'}) resulting in: "ix_name" btree (column text_pattern_ops) Operator classes for indexes are documented here: http:/