Project

General

Profile

Tâche #17504

Scénario #17555: Evolutions eole-postgresql

Création de bases utilisant le template postgis

Added by Vincent Chavanon over 3 years ago. Updated about 3 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
10/13/2016
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:
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

Revision afd27be1 (diff)
Added by Vincent Chavanon over 3 years ago

pouvoir créer une base pgsql selon un template donné Ref:#17504

History

#1 Updated by Thierry Bertrand over 3 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 over 3 years ago

  • Description updated (diff)
  • Estimated time set to 1.00 h
  • Remaining (hours) set to 1.0

#3 Updated by Vincent Chavanon over 3 years ago

  • % Done changed from 0 to 90
  • Remaining (hours) changed from 1.0 to 0.25

#4 Updated by Vincent Chavanon over 3 years ago

  • Status changed from Nouveau to Résolu

#5 Updated by Thierry Bertrand about 3 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.25 to 0.0

#6 Updated by Thierry Bertrand about 3 years ago

  • % Done changed from 90 to 100

Also available in: Atom PDF