docs/indexes.md in postgres_ext-0.2.2 vs docs/indexes.md in postgres_ext-0.3.0

- old
+ new

@@ -4,16 +4,25 @@ Postgres\_ext allows you to specify index type and index operator class at index creation. ```ruby -add_index :table_name, :column, :index_type => :gin -add_index :table_name, :column, :index_type => :gin, :index_opclass => :gin_trgm_ops +add_index :table_name, :column, :using => :gin +add_index :table_name, :column, :using => :gin, :index_opclass => :gin_trgm_ops ``` ## Where clauses Postgres\_ext allows you to specify a where clause at index creation. ```ruby add_index :table_name, :column, :where => 'column < 50' +``` + +## Concurrent Indexes + +Postgres\_ext allows you to create indexes concurrently using the +`:algorithm` option + +```ruby +add_index :table_name, :column, :algorithm => :concurrently ```