weixin_39890652 2020-11-20 22:03
浏览 0

Postgres CREATE INDEX CONCURRENTLY

Migrated issue, originally created by Iuri de Silvio ()

Is it possible to use the CONCURRENTLY statement to create my Postgres index?

该提问来源于开源项目:sqlalchemy/alembic

  • 写回答

8条回答 默认 最新

  • weixin_39890652 2020-11-20 22:03
    关注

    Michael Bayer () wrote:

    easiest way right now is just emit op.execute("CREATE INDEX ... CONCURRENTLY ...")

    For a feature add here please submit a pull request to SQLAlchemy, providing "postgresql_concurrently" as an option to the Index construct..thanks!

    评论

报告相同问题?