Development #43042
ALTER SCHEMA sur schéma inexistant
Début:
19 mai 2020
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
root@pddv-gdlyon-gnm-front-1:~# sudo -u bijoe wcs-olap --all /var/lib/bijoe/tenants/statistiques-saint-didier-au-mont-dor.guichet-recette.grandlyon.com/wcs-olap.ini -v2 2020-05-19 09:10:54,558 INFO config files: /etc/wcs-olap/config.ini, /var/lib/bijoe/tenants/statistiques-saint-didier-au-mont-dor.guichet-recette.grandlyon.com/wcs-olap.ini 2020-05-19 09:10:54,560 INFO starting synchronizing w.c.s. at 'https://demarches-saint-didier-au-mont-dor.guichet-recette.grandlyon.com/' with PostgreSQL at dbname='gnm_bijoe' host='vip-cut-psql' user='gnm_bijoe' password='...' port='9999' 2020-05-19 09:10:56,130 ERROR failed to synchronize with https://demarches-saint-didier-au-mont-dor.guichet-recette.grandlyon.com/ Traceback (most recent call last): File "/usr/lib/python3/dist-packages/wcs_olap/cmd.py", line 108, in main2 olap_feeder.feed() File "/usr/lib/python3/dist-packages/wcs_olap/feeder.py", line 574, in feed self.ex('ALTER SCHEMA {schema_temp} RENAME TO {schema}') File "/usr/lib/python3/dist-packages/wcs_olap/feeder.py", line 314, in ex self.cur.execute(sql, vars=vars) psycopg2.ProgrammingError: ERREUR: le schéma « demarches_saint_didier_au_mont_dor_guichet_recette_grandlyon_co » n'existe pas
Fichiers
Demandes liées
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a presque 4 ans
- Sujet changé de ALTER SCHEMA sur schéma inexistnat à ALTER SCHEMA sur schéma inexistant
Mis à jour par Benjamin Dauvergne il y a presque 4 ans
- Projet changé de OLAP / Business Intelligence pour Publik à BiJoe
En fait c'est le nom du schéma qui est trop long, il se retrouve automatiquement tronqué à 63 caractères comme tous les identifiants pg, à corriger dans bijoe.
Mis à jour par Benjamin Dauvergne il y a presque 4 ans
- Lié à Development #43165: Tronquer le nom du schéma temporaire s'il fait plus de 63 caractères ajouté
Mis à jour par Benjamin Dauvergne il y a presque 4 ans
- Fichier 0001-misc-truncate-schema-names-to-63-chars-43042.patch 0001-misc-truncate-schema-names-to-63-chars-43042.patch ajouté
- Tracker changé de Bug à Development
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Nicolas Roche il y a presque 4 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Benjamin Dauvergne il y a presque 4 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit c676890178695dc1333b68f07955be1cd9f068be Author: Benjamin Dauvergne <bdauvergne@entrouvert.com> Date: Wed May 20 17:26:25 2020 +0200 misc: truncate schema names to 63 chars (#43042) To comply with postgresql limitation, to prevent collisions a hash of the full identifier is inserted in the middle.
Mis à jour par Frédéric Péters il y a presque 4 ans
- Statut changé de Résolu (à déployer) à Solution déployée
misc: truncate schema names to 63 chars (#43042)
To comply with postgresql limitation, to prevent collisions a hash of
the full identifier is inserted in the middle.