From 2249a006a4a128a595b4357d4189b372a74792e9 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Wed, 14 Mar 2018 11:46:14 -0600 Subject: [PATCH] added extension table to doc --- README.md | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 76 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d3debd7..990312d 100644 --- a/README.md +++ b/README.md @@ -22,13 +22,87 @@ When configuring a PostgreSQL service in your boxfile.yml, you can specify which #### version ```yaml -# default setting data.db: image: nanobox/postgresql config: - version: 9.4 + version: 9.6 ``` +### Postgres Extensions +You can add Postgres extensions using the `extensions` config option. + +```yaml +data.postgresql: + image: nanobox/postgresql:9.5 + config: + extensions: + - autoinc + - postgis +``` + +#### PostgreSQL Extension Per PostgreSQL Version +| extensions | 9.3 | 9.4 | 9.5 | 9.6 | 10 | +|:----------------------:|:---:|:---:|:---:|:---:|:---:| +| adminpack | ✅ | ✅ | ✅ | ✅ | ✅ | +| autoinc | ✅ | ✅ | ✅ | ✅ | ✅ | +| btree_gin | ✅ | ✅ | ✅ | ✅ | ✅ | +| btree_gist | ✅ | ✅ | ✅ | ✅ | ✅ | +| chkpass | ✅ | ✅ | ✅ | ✅ | ✅ | +| citext | ✅ | ✅ | ✅ | ✅ | ✅ | +| cube | ✅ | ✅ | ✅ | ✅ | ✅ | +| dblink | ✅ | ✅ | ✅ | ✅ | ✅ | +| dict_int | ✅ | ✅ | ✅ | ✅ | ✅ | +| dict_xsyn | ✅ | ✅ | ✅ | ✅ | ✅ | +| earthdistance | ✅ | ✅ | ✅ | ✅ | ✅ | +| file_fdw | ✅ | ✅ | ✅ | ✅ | ✅ | +| fuzzystrmatch | ✅ | ✅ | ✅ | ✅ | ✅ | +| hstore | ✅ | ✅ | ✅ | ✅ | ✅ | +| hstore_plpython2u | ❌ | ❌ | ✅ | ✅ | ✅ | +| hstore_plpython3u | ❌ | ❌ | ✅ | ✅ | ✅ | +| hstore_plpythonu | ❌ | ❌ | ✅ | ✅ | ✅ | +| insert_username | ✅ | ✅ | ✅ | ✅ | ✅ | +| intagg | ✅ | ✅ | ✅ | ✅ | ✅ | +| intarray | ✅ | ✅ | ✅ | ✅ | ✅ | +| isn | ✅ | ✅ | ✅ | ✅ | ✅ | +| lo | ✅ | ✅ | ✅ | ✅ | ✅ | +| ltree | ✅ | ✅ | ✅ | ✅ | ✅ | +| moddatetime | ✅ | ✅ | ✅ | ✅ | ✅ | +| pageinspect | ✅ | ✅ | ✅ | ✅ | ✅ | +| pg_buffercache | ✅ | ✅ | ✅ | ✅ | ✅ | +| pg_freespacemap | ✅ | ✅ | ✅ | ✅ | ✅ | +| pg_prewarm | ❌ | ✅ | ✅ | ✅ | ✅ | +| pg_stat_statements | ✅ | ✅ | ✅ | ✅ | ✅ | +| pg_trgm | ✅ | ✅ | ✅ | ✅ | ✅ | +| pgcrypto | ✅ | ✅ | ✅ | ✅ | ✅ | +| pgrowlocks | ✅ | ✅ | ✅ | ✅ | ✅ | +| pgstattuple | ✅ | ✅ | ✅ | ✅ | ✅ | +| plperl | ✅ | ✅ | ✅ | ✅ | ✅ | +| plperlu | ✅ | ✅ | ✅ | ✅ | ✅ | +| plpgsql | ✅ | ✅ | ✅ | ✅ | ✅ | +| plpython2u | ✅ | ✅ | ✅ | ✅ | ✅ | +| plpythonu | ✅ | ✅ | ✅ | ✅ | ✅ | +| pltcl | ✅ | ✅ | ✅ | ✅ | ✅ | +| pltclu | ✅ | ✅ | ✅ | ✅ | ✅ | +| postgis | ✅ | ✅ | ✅ | ✅ | ✅ | +| postgis_tiger_geocoder | ✅ | ✅ | ✅ | ✅ | ✅ | +| postgis_topology | ✅ | ✅ | ✅ | ✅ | ✅ | +| postgres_fdw | ✅ | ✅ | ✅ | ✅ | ✅ | +| refint | ✅ | ✅ | ✅ | ✅ | ✅ | +| seg | ✅ | ✅ | ✅ | ✅ | ✅ | +| sslinfo | ✅ | ✅ | ✅ | ✅ | ✅ | +| tablefunc | ✅ | ✅ | ✅ | ✅ | ✅ | +| tcn | ✅ | ✅ | ✅ | ✅ | ✅ | +| test_parser | ✅ | ✅ | ❌ | ❌ | ❌ | +| test_shm_mq | ❌ | ✅ | ❌ | ❌ | ❌ | +| timetravel | ✅ | ✅ | ✅ | ✅ | ✅ | +| tsearch2 | ✅ | ✅ | ✅ | ✅ | ❌ | +| tsm_system_rows | ❌ | ❌ | ✅ | ✅ | ✅ | +| tsm_system_time | ❌ | ❌ | ✅ | ✅ | ✅ | +| unaccent | ✅ | ✅ | ✅ | ✅ | ✅ | +| uuid-ossp | ✅ | ✅ | ✅ | ✅ | ✅ | +| worker_spi | ❌ | ✅ | ❌ | ❌ | ❌ | +| xml2 | ✅ | ✅ | ✅ | ✅ | ❌ | + ### Custom Users/Permissions/Databases You can create custom users with custom permissions as well as additional databases.