forked from jerrod/ey-cloud-recipes
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PG Contribs: added support for btree_gist and btree_gin indexes in Po…
…stgres 9.0 and 9.1
- Loading branch information
Ines Sombra
committed
Feb 2, 2012
1 parent
7571c4b
commit 89aecd9
Showing
4 changed files
with
25 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
cookbooks/postgresql9_extensions/definitions/btree_gist.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
define :postgresql9_btree_gist do | ||
dbname_to_use = params[:name] | ||
|
||
load_sql_file do | ||
db_name dbname_to_use | ||
username "postgres" | ||
extname "btree_gist" | ||
supported_versions %w[9.0 9.1] | ||
end | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters