From 8b05770926a1401dd9e5ade3921b807344a1126f Mon Sep 17 00:00:00 2001 From: emorino Date: Fri, 20 Aug 2021 09:38:41 +0200 Subject: [PATCH] typo --- HowtoPostgreSQL.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/HowtoPostgreSQL.md b/HowtoPostgreSQL.md index 92500e82..03b958df 100644 --- a/HowtoPostgreSQL.md +++ b/HowtoPostgreSQL.md @@ -1380,22 +1380,22 @@ Il faut en premier installé les paquets suivants, exemple sur une instance post # apt install postgis postgresql-11-postgis-2.5 postgresql-11-postgis-2.5-scripts ~~~ -Ensuite il faut faire un `CREATE EXTENTION` dans la base de données ou l'on veux utilisé postgis. +Ensuite il faut faire un `CREATE EXTENSION` dans la base de données ou l'on veux utilisé postgis. **ATTENTION** : il ne faut **PAS** créer l'extention dans la base de donnée nommée `postgres` ~~~ -foo=# CREATE EXTENSION postgis; +foo=# CREATE EXTENSION IF NOT EXISTS postgis; ~~~ Pour activé le support de rasterisation : ~~~ -foo=# CREATE EXTENSION postgis_raster; +foo=# CREATE EXTENSION IF NOT EXISTS postgis_raster; ~~~ Activé topology : ~~~ -foo=# CREATE EXTENSION postgis_topology; +foo=# CREATE EXTENSION IF NOT EXISTS postgis_topology; ~~~ \ No newline at end of file