Support for the PostgreSQL database.
PostgreSQL supports partial indexes. To create them pass a posgres_where option to the Index constructor:
Index('my_index', my_table.c.id, postgres_where=tbl.c.value > 10)
PostgreSQL 8.2+ supports returning a result set from inserts and updates. To use this pass the column/expression list to the postgres_returning parameter when creating the queries:
raises = tbl.update(empl.c.sales > 100, values=dict(salary=empl.c.salary * 1.1), postgres_returning=[empl.c.id, empl.c.salary]).execute().fetchall()