Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 421 lines (262 sloc) 16.557 kb
7571c4b added support for postgres 9.1 extensions
Ines Sombra authored
1 ey-cloud-recipes/postgresql9_extensions
490d49d minor fixes after testing postgis, autoexplain & chkpass. Also provided ...
Ines Sombra authored
2 ------------------------------------------------------------------------------
5395635 changes to pg loaders
Ines Sombra authored
3
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
4 A chef recipe for enabling Postgres extensions (contribs on Postgres 9.0) packages on Engine Yard Cloud. This recipe defines multiple methods that can be called from main/recipes/default.rb to enable extensions for a given database. More information on these extensions can be found in Appendix F of the PostgreSQL manual: http://www.postgresql.org/docs/9.3/static/contrib.html
5395635 changes to pg loaders
Ines Sombra authored
5
6
490d49d minor fixes after testing postgis, autoexplain & chkpass. Also provided ...
Ines Sombra authored
7 Dependencies
8 --------------------------
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
9 You need to have an instance running Postgres 9.0 or above to apply these recipes.
5395635 changes to pg loaders
Ines Sombra authored
10
11
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
12 Available Extensions
490d49d minor fixes after testing postgis, autoexplain & chkpass. Also provided ...
Ines Sombra authored
13 --------------------------
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
14 At the moment the following extensions are available.
5395635 changes to pg loaders
Ines Sombra authored
15
365bb5d updated instructions
Ines Sombra authored
16 ##auto_explain
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
17 ###supported versions: >= 9.0
18 This extension provides a means for logging execution plans of slow statements automatically, without having to run EXPLAIN by hand. This is especially helpful for tracking down un-optimized queries in large applications.
19
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
20 WARNING: Enabling this extension will restart your Postgres service.
b5dcd22 updated instructions
Ines Sombra authored
21
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
22 Enabling this extension:
b5dcd22 updated instructions
Ines Sombra authored
23
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
24 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
25 extension applied to.
a718fa6 updated instructions
Ines Sombra authored
26
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
27 ``postgresql9_autoexplain "dbname""``
b5dcd22 updated instructions
Ines Sombra authored
28
7571c4b added support for postgres 9.1 extensions
Ines Sombra authored
29 ##btree_gin
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
30 ###supported versions: >= 9.0
7571c4b added support for postgres 9.1 extensions
Ines Sombra authored
31 This extension provides support for indexing common datatypes in GIN
32
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
33 Enabling this extension:
7571c4b added support for postgres 9.1 extensions
Ines Sombra authored
34
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
35 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
7571c4b added support for postgres 9.1 extensions
Ines Sombra authored
36 extension applied to.
37
38 ``postgresql9_btree_gin "dbname""``
39
40 ##btree_gist
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
41 ###supported versions: >= 9.0
89aecd9 PG Contribs: added support for btree_gist and btree_gin indexes in Postg...
Ines Sombra authored
42 This extension provides support for indexing common datatypes in GiST
7571c4b added support for postgres 9.1 extensions
Ines Sombra authored
43
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
44 Enabling this extension:
7571c4b added support for postgres 9.1 extensions
Ines Sombra authored
45
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
46 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
7571c4b added support for postgres 9.1 extensions
Ines Sombra authored
47 extension applied to.
48
89aecd9 PG Contribs: added support for btree_gist and btree_gin indexes in Postg...
Ines Sombra authored
49 ``postgresql9_btree_gist "dbname""``
7571c4b added support for postgres 9.1 extensions
Ines Sombra authored
50
365bb5d updated instructions
Ines Sombra authored
51 ##chkpass
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
52 ###supported versions: >= 9.0
53 This extension implements a data type chkpass that is designed for storing encrypted passwords. Each password is automatically converted to encrypted form upon entry, and is always stored encrypted.
b5dcd22 updated instructions
Ines Sombra authored
54
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
55 Enabling this extension:
b5dcd22 updated instructions
Ines Sombra authored
56
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
57 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
b5dcd22 updated instructions
Ines Sombra authored
58 extension applied to.
a718fa6 updated instructions
Ines Sombra authored
59
b5dcd22 updated instructions
Ines Sombra authored
60 ``postgresql9_chkpass "dbname""``
61
365bb5d updated instructions
Ines Sombra authored
62 ##citext
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
63 ###supported versions: >= 9.0
64 The citext module provides a case-insensitive character string type, citext. Essentially, it internally calls lower when comparing values. Otherwise, it behaves almost exactly like text. (This is great for MySQL compatibility which does text comparisons case-insensitive, by default)
b5dcd22 updated instructions
Ines Sombra authored
65
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
66 Enabling this extension:
b5dcd22 updated instructions
Ines Sombra authored
67
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
68 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
b5dcd22 updated instructions
Ines Sombra authored
69 extension applied to.
a718fa6 updated instructions
Ines Sombra authored
70
b5dcd22 updated instructions
Ines Sombra authored
71 ``postgresql9_citext "dbname""``
72
365bb5d updated instructions
Ines Sombra authored
73 ##cube
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
74 ###supported versions: >= 9.0
b5dcd22 updated instructions
Ines Sombra authored
75 This module implements a data type cube for representing multidimensional cubes.
76
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
77 Enabling this extension:
b5dcd22 updated instructions
Ines Sombra authored
78
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
79 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
b5dcd22 updated instructions
Ines Sombra authored
80 extension applied to.
a718fa6 updated instructions
Ines Sombra authored
81
b5dcd22 updated instructions
Ines Sombra authored
82 ``postgresql9_cube "dbname""``
83
365bb5d updated instructions
Ines Sombra authored
84 ##dblink
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
85 ###supported versions: >= 9.0
b5dcd22 updated instructions
Ines Sombra authored
86 dblink is a module which supports connections to other PostgreSQL databases from within a database session.
87
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
88 Enabling this extension:
5395635 changes to pg loaders
Ines Sombra authored
89
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
90 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
b5dcd22 updated instructions
Ines Sombra authored
91 extension applied to.
a718fa6 updated instructions
Ines Sombra authored
92
b5dcd22 updated instructions
Ines Sombra authored
93 ``postgresql9_dblink "dbname""``
5395635 changes to pg loaders
Ines Sombra authored
94
bcba9b4 PG Extensions: Added support for dict_int, dict_xsyn, intarray, sslinfo,...
Ines Sombra authored
95 ##dict_int
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
96 ###supported versions: >= 9.0
bcba9b4 PG Extensions: Added support for dict_int, dict_xsyn, intarray, sslinfo,...
Ines Sombra authored
97 dict_int is an example of an add-on dictionary template for full-text search. The motivation for this example dictionary is to control the indexing of integers (signed and unsigned), allowing such numbers to be indexed while preventing excessive growth in the number of unique words, which greatly affects the performance of searching.
98
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
99 Enabling this extension:
bcba9b4 PG Extensions: Added support for dict_int, dict_xsyn, intarray, sslinfo,...
Ines Sombra authored
100
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
101 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
bcba9b4 PG Extensions: Added support for dict_int, dict_xsyn, intarray, sslinfo,...
Ines Sombra authored
102 extension applied to.
103
104 ``postgresql9_dict_int "dbname""``
105
106 ##dict_xsyn
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
107 ###supported versions: >= 9.0
bcba9b4 PG Extensions: Added support for dict_int, dict_xsyn, intarray, sslinfo,...
Ines Sombra authored
108 dict_xsyn (Extended Synonym Dictionary) is an example of an add-on dictionary template for full-text search. This dictionary type replaces words with groups of their synonyms, and so makes it possible to search for a word using any of its synonyms.
109
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
110 Enabling this extension:
bcba9b4 PG Extensions: Added support for dict_int, dict_xsyn, intarray, sslinfo,...
Ines Sombra authored
111
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
112 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
bcba9b4 PG Extensions: Added support for dict_int, dict_xsyn, intarray, sslinfo,...
Ines Sombra authored
113 extension applied to.
114
115 ``postgresql9_dict_xsyn "dbname""``
116
365bb5d updated instructions
Ines Sombra authored
117 ##earthdistance
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
118 ###supported versions: >= 9.0
b5dcd22 updated instructions
Ines Sombra authored
119 The earthdistance module provides two different approaches to calculating great circle distances on the surface of the Earth.
5395635 changes to pg loaders
Ines Sombra authored
120
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
121 Enabling this extension:
5395635 changes to pg loaders
Ines Sombra authored
122
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
123 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
b5dcd22 updated instructions
Ines Sombra authored
124 extension applied to.
a718fa6 updated instructions
Ines Sombra authored
125
b5dcd22 updated instructions
Ines Sombra authored
126 ``postgresql9_earthdistance "dbname""``
5395635 changes to pg loaders
Ines Sombra authored
127
8f50194 PG Contribs: Added Postgres 9.1 support for the following extensions: db...
Ines Sombra authored
128 ##file_fdw
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
129 ###supported versions: >= 9.1
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
130 The file fdw module provides the foreign-data wrapper, which can be used to access data files in the server's file system. Data files must be in a format that can be read by COPY FROM;
b5dcd22 updated instructions
Ines Sombra authored
131
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
132 Enabling this extension:
200c9cf updated instructions
Ines Sombra authored
133
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
134 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
b5dcd22 updated instructions
Ines Sombra authored
135 extension applied to.
a718fa6 updated instructions
Ines Sombra authored
136
8f50194 PG Contribs: Added Postgres 9.1 support for the following extensions: db...
Ines Sombra authored
137 ``postgresql9_file_fdw "dbname""``
200c9cf updated instructions
Ines Sombra authored
138
8f50194 PG Contribs: Added Postgres 9.1 support for the following extensions: db...
Ines Sombra authored
139 ##fuzzystrmatch
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
140 ###supported versions: >= 9.0
8f50194 PG Contribs: Added Postgres 9.1 support for the following extensions: db...
Ines Sombra authored
141 The fuzzystrmatch module provides several functions to determine similarities and distance between strings.
200c9cf updated instructions
Ines Sombra authored
142
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
143 Enabling this extension:
200c9cf updated instructions
Ines Sombra authored
144
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
145 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
b5dcd22 updated instructions
Ines Sombra authored
146 extension applied to.
a718fa6 updated instructions
Ines Sombra authored
147
8f50194 PG Contribs: Added Postgres 9.1 support for the following extensions: db...
Ines Sombra authored
148 ``postgresql9_fuzzystrmatch "dbname""``
200c9cf updated instructions
Ines Sombra authored
149
8f50194 PG Contribs: Added Postgres 9.1 support for the following extensions: db...
Ines Sombra authored
150 ##hstore
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
151 ###supported versions: >= 9.0
152 This module implements the hstore data type for storing sets of key/value pairs within a single PostgreSQL value. This can be useful in various scenarios, such as rows with many attributes that are rarely examined, or semi-structured data. Keys and values are simply text strings.
200c9cf updated instructions
Ines Sombra authored
153
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
154 Enabling this extension:
200c9cf updated instructions
Ines Sombra authored
155
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
156 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
b5dcd22 updated instructions
Ines Sombra authored
157 extension applied to.
a718fa6 updated instructions
Ines Sombra authored
158
8f50194 PG Contribs: Added Postgres 9.1 support for the following extensions: db...
Ines Sombra authored
159 ``postgresql9_hstore "dbname""``
490d49d minor fixes after testing postgis, autoexplain & chkpass. Also provided ...
Ines Sombra authored
160
bcba9b4 PG Extensions: Added support for dict_int, dict_xsyn, intarray, sslinfo,...
Ines Sombra authored
161 ##intarray
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
162 ###supported versions: >= 9.0
bcba9b4 PG Extensions: Added support for dict_int, dict_xsyn, intarray, sslinfo,...
Ines Sombra authored
163 The intarray module provides a number of useful functions and operators for manipulating null-free arrays of integers. There is also support for indexed searches using some of the operators.
164
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
165 Enabling this extension:
bcba9b4 PG Extensions: Added support for dict_int, dict_xsyn, intarray, sslinfo,...
Ines Sombra authored
166
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
167 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
bcba9b4 PG Extensions: Added support for dict_int, dict_xsyn, intarray, sslinfo,...
Ines Sombra authored
168 extension applied to.
169
170 ``postgresql9_intarray "dbname""``
171
365bb5d updated instructions
Ines Sombra authored
172 ##isn
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
173 ###supported versions: >= 9.0
174 The isn module provides data types for the following international product numbering standards: EAN13, UPC, ISBN (books), ISMN (music), and ISSN (serials). Numbers are validated on input, and correctly hyphenated on output.
490d49d minor fixes after testing postgis, autoexplain & chkpass. Also provided ...
Ines Sombra authored
175
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
176 Enabling this extension:
200c9cf updated instructions
Ines Sombra authored
177
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
178 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
b5dcd22 updated instructions
Ines Sombra authored
179 extension applied to.
a718fa6 updated instructions
Ines Sombra authored
180
b5dcd22 updated instructions
Ines Sombra authored
181 ``postgresql9_isn "dbname""``
200c9cf updated instructions
Ines Sombra authored
182
365bb5d updated instructions
Ines Sombra authored
183 ##lo
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
184 ###supported versions: >= 9.0
b5dcd22 updated instructions
Ines Sombra authored
185 The lo module provides support for managing Large Objects (also called LOs or BLOBs). This includes a data type lo and a trigger lo_manage.
200c9cf updated instructions
Ines Sombra authored
186
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
187 Enabling this extension:
200c9cf updated instructions
Ines Sombra authored
188
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
189 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
b5dcd22 updated instructions
Ines Sombra authored
190 extension applied to.
a718fa6 updated instructions
Ines Sombra authored
191
b5dcd22 updated instructions
Ines Sombra authored
192 ``postgresql9_lo "dbname""``
200c9cf updated instructions
Ines Sombra authored
193
365bb5d updated instructions
Ines Sombra authored
194 ##ltree
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
195 ###supported versions: >= 9.0
196 This module implements a data type ltree for representing labels of data stored in a hierarchical tree-like structure. Extensive facilities for searching through label trees are provided.
200c9cf updated instructions
Ines Sombra authored
197
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
198 Enabling this extension:
200c9cf updated instructions
Ines Sombra authored
199
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
200 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
b5dcd22 updated instructions
Ines Sombra authored
201 extension applied to.
a718fa6 updated instructions
Ines Sombra authored
202
b5dcd22 updated instructions
Ines Sombra authored
203 ``postgresql9_ltree "dbname""``
200c9cf updated instructions
Ines Sombra authored
204
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
205 ##pg_stat_statements
206 ###supported versions: >= 9.2
207 The pg_stat_statements module provides a means for tracking execution statistics of all SQL statements executed by a server.
208
209 Enabling this extension:
210
211 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
212 extension applied to.
213
214 ``postgresql9_pg_stat_statements "dbname""``
215
8f50194 PG Contribs: Added Postgres 9.1 support for the following extensions: db...
Ines Sombra authored
216 ##pg_trgm
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
217 ###supported versions: >= 9.0
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
218 The pg_trgm module provides GiST and GIN index operator classes that allow you to create an index over a text column for the purpose of very fast similarity searches. These index types support the above-described similarity operators, and additionally support trigram-based index searches for LIKE and ILIKE queries. (These indexes do not support equality nor simple comparison operators, so you may need a regular B-tree index too.).
8f50194 PG Contribs: Added Postgres 9.1 support for the following extensions: db...
Ines Sombra authored
219
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
220 Enabling this extension:
8f50194 PG Contribs: Added Postgres 9.1 support for the following extensions: db...
Ines Sombra authored
221
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
222 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
8f50194 PG Contribs: Added Postgres 9.1 support for the following extensions: db...
Ines Sombra authored
223 extension applied to.
224
225 ``postgresql9_pg_trgm "dbname""``
200c9cf updated instructions
Ines Sombra authored
226
365bb5d updated instructions
Ines Sombra authored
227 ##pgcrypto
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
228 ###supported versions: >= 9.0
b5dcd22 updated instructions
Ines Sombra authored
229 The pgcrypto module provides cryptographic functions for PostgreSQL.
200c9cf updated instructions
Ines Sombra authored
230
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
231 Enabling this extension:
200c9cf updated instructions
Ines Sombra authored
232
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
233 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
b5dcd22 updated instructions
Ines Sombra authored
234 extension applied to.
a718fa6 updated instructions
Ines Sombra authored
235
b5dcd22 updated instructions
Ines Sombra authored
236 ``postgresql9_pgcrypto "dbname""``
200c9cf updated instructions
Ines Sombra authored
237
365bb5d updated instructions
Ines Sombra authored
238 ##pgrowlocks
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
239 ###supported versions: >= 9.0
b5dcd22 updated instructions
Ines Sombra authored
240 The pgrowlocks module provides a function to show row locking information for a specified table.
200c9cf updated instructions
Ines Sombra authored
241
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
242 Enabling this extension:
200c9cf updated instructions
Ines Sombra authored
243
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
244 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
b5dcd22 updated instructions
Ines Sombra authored
245 extension applied to.
a718fa6 updated instructions
Ines Sombra authored
246
b5dcd22 updated instructions
Ines Sombra authored
247 ``postgresql9_pgrowlocks "dbname""``
7d2d1b6 properly installs pg_stat_statements extension
Ines Sombra authored
248
249 ##pg_stat_statements
250 ###supported versions: 9.2 - Note that pg_stat_statements requires a server restart to complete installation
251
252 The pg_stat_statements module provides a means for tracking execution statistics of all SQL statements executed by a server.
253
254 Enabling this extension:
255
256 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
257 extension applied to.
258
259 ``postgresql9_pg_stat_statements "dbname""``
200c9cf updated instructions
Ines Sombra authored
260
dff590d Enables PostGIS support for Postgres 9.2
Ines Sombra authored
261 ##PostGIS 1.5
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
262 ###supported versions: >= 9.0
263 This extension adds support for geographic objects. PostGIS "spatially enables" the PostgreSQL server, allowing it to be used as a backend spatial database for geographic information systems (GIS).
200c9cf updated instructions
Ines Sombra authored
264
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
265 Enabling this extension:
200c9cf updated instructions
Ines Sombra authored
266
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
267 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
b5dcd22 updated instructions
Ines Sombra authored
268 extension applied to.
a718fa6 updated instructions
Ines Sombra authored
269
b5dcd22 updated instructions
Ines Sombra authored
270 ``postgresql9_postgis "dbname""``
200c9cf updated instructions
Ines Sombra authored
271
dff590d Enables PostGIS support for Postgres 9.2
Ines Sombra authored
272 ##PostGIS 2.0
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
273 ###supported versions: >= 9.2
274 This extension adds support for geographic objects. PostGIS "spatially enables" the PostgreSQL server, allowing it to be used as a backend spatial database for geographic information systems (GIS).
dff590d Enables PostGIS support for Postgres 9.2
Ines Sombra authored
275
276 Enabling this extension:
277
278 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
279 extension applied to.
280
281 ``postgresql9_postgis2 "dbname""``
282
365bb5d updated instructions
Ines Sombra authored
283 ##seg
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
284 ###supported versions: >= 9.0
285 This module implements a data type seg for representing line segments, or floating point intervals. seg can represent uncertainty in the interval endpoints, making it especially useful for representing laboratory measurements.
490d49d minor fixes after testing postgis, autoexplain & chkpass. Also provided ...
Ines Sombra authored
286
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
287 Enabling this extension:
490d49d minor fixes after testing postgis, autoexplain & chkpass. Also provided ...
Ines Sombra authored
288
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
289 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
b5dcd22 updated instructions
Ines Sombra authored
290 extension applied to.
a718fa6 updated instructions
Ines Sombra authored
291
b5dcd22 updated instructions
Ines Sombra authored
292 ``postgresql9_seg "dbname""``
200c9cf updated instructions
Ines Sombra authored
293
bcba9b4 PG Extensions: Added support for dict_int, dict_xsyn, intarray, sslinfo,...
Ines Sombra authored
294 ##sslinfo
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
295 ###supported versions: >= 9.0
bcba9b4 PG Extensions: Added support for dict_int, dict_xsyn, intarray, sslinfo,...
Ines Sombra authored
296 The sslinfo module provides information about the SSL certificate that the current client provided when connecting to PostgreSQL. The module is useless (most functions will return NULL) if the current connection does not use SSL.
297
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
298 Enabling this extension:
bcba9b4 PG Extensions: Added support for dict_int, dict_xsyn, intarray, sslinfo,...
Ines Sombra authored
299
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
300 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
bcba9b4 PG Extensions: Added support for dict_int, dict_xsyn, intarray, sslinfo,...
Ines Sombra authored
301 extension applied to.
302
303 ``postgresql9_sslinfo "dbname""``
304
365bb5d updated instructions
Ines Sombra authored
305 ##tablefunc
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
306 ###supported versions: >= 9.0
307 The tablefunc module includes various functions that return tables (that is, multiple rows). These functions are useful both in their own right and as examples of how to write C functions that return multiple rows.
490d49d minor fixes after testing postgis, autoexplain & chkpass. Also provided ...
Ines Sombra authored
308
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
309 Enabling this extension:
428fb3b added pg_freespacemap recipe
Ines Sombra authored
310
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
311 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
b5dcd22 updated instructions
Ines Sombra authored
312 extension applied to.
a718fa6 updated instructions
Ines Sombra authored
313
b5dcd22 updated instructions
Ines Sombra authored
314 ``postgresql9_tablefunc "dbname""``
200c9cf updated instructions
Ines Sombra authored
315
bcba9b4 PG Extensions: Added support for dict_int, dict_xsyn, intarray, sslinfo,...
Ines Sombra authored
316 ##test_parser
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
317 ###supported versions: >= 9.0
bcba9b4 PG Extensions: Added support for dict_int, dict_xsyn, intarray, sslinfo,...
Ines Sombra authored
318 test_parser is an example of a custom parser for full-text search. It doesn't do anything especially useful, but can serve as a starting point for developing your own parser.
319
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
320 Enabling this extension:
bcba9b4 PG Extensions: Added support for dict_int, dict_xsyn, intarray, sslinfo,...
Ines Sombra authored
321
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
322 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
bcba9b4 PG Extensions: Added support for dict_int, dict_xsyn, intarray, sslinfo,...
Ines Sombra authored
323 extension applied to.
324
325 ``postgresql9_test_parser "dbname""``
326
365bb5d updated instructions
Ines Sombra authored
327 ##unaccent
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
328 ###supported versions: >= 9.0
329 unaccent is a text search dictionary that removes accents (diacritic signs) from lexemes. It's a filtering dictionary, which means its output is always passed to the next dictionary (if any), unlike the normal behavior of dictionaries. This allows accent-insensitive processing for full text search.
200c9cf updated instructions
Ines Sombra authored
330
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
331 Enabling this extension:
200c9cf updated instructions
Ines Sombra authored
332
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
333 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
b5dcd22 updated instructions
Ines Sombra authored
334 extension applied to.
a718fa6 updated instructions
Ines Sombra authored
335
b5dcd22 updated instructions
Ines Sombra authored
336 ``postgresql9_unaccent "dbname""``
200c9cf updated instructions
Ines Sombra authored
337
365bb5d updated instructions
Ines Sombra authored
338 ##uuid-ossp
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
339 ###supported versions: >= 9.0
340 The uuid-ossp module provides functions to generate universally unique identifiers (UUIDs) using one of several standard algorithms. There are also functions to produce certain special UUID constants. (This also requires a separate USE flag when building the postgres binaries that pulls in another package.)
200c9cf updated instructions
Ines Sombra authored
341
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
342 Enabling this extension:
200c9cf updated instructions
Ines Sombra authored
343
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
344 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
b5dcd22 updated instructions
Ines Sombra authored
345 extension applied to.
a718fa6 updated instructions
Ines Sombra authored
346
b5dcd22 updated instructions
Ines Sombra authored
347 ``postgresql9_uuid_ossp "dbname""``
428fb3b added pg_freespacemap recipe
Ines Sombra authored
348
bcba9b4 PG Extensions: Added support for dict_int, dict_xsyn, intarray, sslinfo,...
Ines Sombra authored
349 ##xml2
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
350 ###supported versions: >= 9.1
351 The uuid-ossp module provides functions to generate universally unique identifiers (UUIDs) using one of several standard algorithms. There are also functions to produce certain special UUID constants. (This also requires a separate USE flag when building the postgres binaries that pulls in another package.)
bcba9b4 PG Extensions: Added support for dict_int, dict_xsyn, intarray, sslinfo,...
Ines Sombra authored
352
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
353 Enabling this extension:
bcba9b4 PG Extensions: Added support for dict_int, dict_xsyn, intarray, sslinfo,...
Ines Sombra authored
354
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
355 * Edit main/recipes/default.rb and comment out the line shown below. Replace dbname with the name of the database you want this
bcba9b4 PG Extensions: Added support for dict_int, dict_xsyn, intarray, sslinfo,...
Ines Sombra authored
356 extension applied to.
357
358 ``postgresql9_xml2 "dbname""``
359
428fb3b added pg_freespacemap recipe
Ines Sombra authored
360
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
361 Admin-level Contrib packages
428fb3b added pg_freespacemap recipe
Ines Sombra authored
362 ---------------------------------------------
200c9cf updated instructions
Ines Sombra authored
363 Notes: This module requires a privileged user. Please log in as the postgres user to use the extension
428fb3b added pg_freespacemap recipe
Ines Sombra authored
364
365bb5d updated instructions
Ines Sombra authored
365 ##pg_buffercache
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
366 ###supported versions: >= 9.0
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
367 The pg_buffercache module provides a means for examining what's happening in the shared buffer cache in real time.
5395635 changes to pg loaders
Ines Sombra authored
368
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
369 Enabling this Module:
428fb3b added pg_freespacemap recipe
Ines Sombra authored
370
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
371 * Edit main/recipes/default.rb and comment out the line shown below.
a718fa6 updated instructions
Ines Sombra authored
372
b5dcd22 updated instructions
Ines Sombra authored
373 ``postgresql9_pg_buffercache "postgres""``
428fb3b added pg_freespacemap recipe
Ines Sombra authored
374
365bb5d updated instructions
Ines Sombra authored
375 ##pg_freespacemap
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
376 ###supported versions: >= 9.0
377 The pg_freespacemap module provides a means for examining the free space map (FSM). It provides a function called pg_freespace, or two overloaded functions, to be precise. The functions show the value recorded in the free space map for a given page, or for all pages in the relation.
b5dcd22 updated instructions
Ines Sombra authored
378
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
379 Enabling this Module:
46eef7d added pg_trgm recipe
Ines Sombra authored
380
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
381 * Edit main/recipes/default.rb and comment out the line shown below.
a718fa6 updated instructions
Ines Sombra authored
382
b5dcd22 updated instructions
Ines Sombra authored
383 ``postgresql9_pg_freespacemap "postgres""``
46eef7d added pg_trgm recipe
Ines Sombra authored
384
b5dcd22 updated instructions
Ines Sombra authored
385 Note: This module requires a priviledged user. Please log in as the postgres user to use the pg_freespacemap module
46eef7d added pg_trgm recipe
Ines Sombra authored
386
5395635 changes to pg loaders
Ines Sombra authored
387
388
490d49d minor fixes after testing postgis, autoexplain & chkpass. Also provided ...
Ines Sombra authored
389 Uploading this recipe
390 --------------------------
5395635 changes to pg loaders
Ines Sombra authored
391
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
392 1. Edit main/recipes/default.rb to enable or disable extensions as shown above.
490d49d minor fixes after testing postgis, autoexplain & chkpass. Also provided ...
Ines Sombra authored
393
394 2. Upload recipes to your environment
395
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
396 ``ey recipes upload -e <environment>``
490d49d minor fixes after testing postgis, autoexplain & chkpass. Also provided ...
Ines Sombra authored
397
398 3. Apply recipes to your environment
399
400 ``ey recipes apply -e <environment>``
401
402
403 TO-DO
5395635 changes to pg loaders
Ines Sombra authored
404 --------
490d49d minor fixes after testing postgis, autoexplain & chkpass. Also provided ...
Ines Sombra authored
405 This cookbook is work in progress and will be expanded to incorporate additional extensions.
5395635 changes to pg loaders
Ines Sombra authored
406
407
490d49d minor fixes after testing postgis, autoexplain & chkpass. Also provided ...
Ines Sombra authored
408 Caveats
409 --------
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
410 None so far.
490d49d minor fixes after testing postgis, autoexplain & chkpass. Also provided ...
Ines Sombra authored
411
5395635 changes to pg loaders
Ines Sombra authored
412
413 Known Bugs
414 --------
5f58824 Adds support for Postgres 9.2 extensions
Ines Sombra authored
415 None so far.
5395635 changes to pg loaders
Ines Sombra authored
416
490d49d minor fixes after testing postgis, autoexplain & chkpass. Also provided ...
Ines Sombra authored
417
5395635 changes to pg loaders
Ines Sombra authored
418 Credits
419 --------
6216b36 @tpoland Updated postgres version attributes to support future major versions, an...
tpoland authored
420 Thanks to Erik Jones, Scott Likens, Joel Watson, Edward Muller, Ines Sombra, Tyler Poland, and Jayson Vantuyl for their help.
Something went wrong with that request. Please try again.