Tâche #17504
Scénario #17555: Evolutions eole-postgresql
Création de bases utilisant le template postgis
Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
Remaining (hours):
0.0
Description
Les bases créées avec le template_postgis ne sont pas fonctionnelles. effectivement, eoledbpg.py indique ligne 139
sql = "CREATE DATABASE {};"
arr = [sql.format(self.dbname), ]
On pourrait plutot mettre :
sql = "CREATE DATABASE {0} TEMPLATE={1};"
arr = [sql.format(self.dbname,self.template), ]
Associated revisions
pouvoir créer une base pgsql selon un template donné Ref:#17504
History
#1 Updated by Thierry Bertrand almost 7 years ago
- Assigned To set to Vincent Chavanon
- Target version set to sprint 2016 42-44 - Équipe PNE-SR
- Parent task set to #17555
#2 Updated by Thierry Bertrand almost 7 years ago
- Description updated (diff)
- Estimated time set to 1.00 h
- Remaining (hours) set to 1.0
#3 Updated by Vincent Chavanon almost 7 years ago
- % Done changed from 0 to 90
- Remaining (hours) changed from 1.0 to 0.25
#4 Updated by Vincent Chavanon almost 7 years ago
- Status changed from Nouveau to Résolu
#5 Updated by Thierry Bertrand almost 7 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) changed from 0.25 to 0.0
#6 Updated by Thierry Bertrand almost 7 years ago
- % Done changed from 90 to 100