Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

erreur de syntaxe sur ou près de « NOT » LINE 6: CREATE SCHEMA IF NOT EXISTS "audit"; #76

Open
rldhont opened this issue Mar 22, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@rldhont
Copy link
Collaborator

rldhont commented Mar 22, 2023

Log de l'algorithme Création de la structure BDD

Version de QGIS : 3.28.4-Firenze
Révision du code : fd0fb72ab3
Version de Qt : 5.15.3
Version de Python : 3.9.5
Version de GDAL : 3.6.2
Version de GEOS : 3.11.1-CAPI-1.17.1
Version de Proj : Rel. 9.1.1, December 1st, 2022
Version de PDAL : 2.4.3 (git-version: f8d673)
Algorithme commencé à: 2023-03-22T14:31:25
Démarrage de l'algorithme 'Création de la structure BDD'…
Paramètres en entrée:
{ 'ADD_AUDIT' : True, 'CODE' : 'SEP', 'NOM' : 'CD48_SATEP', 'OVERRIDE' : False, 'SIREN' : '224800011', 'SRID' : QgsCoordinateReferenceSystem('EPSG:2154') }

SRID = 2154
00_initialize_database.sql
Erreur SQL : BEGIN;

CREATE EXTENSION IF NOT EXISTS postgis;
CREATE EXTENSION IF NOT EXISTS hstore;

CREATE SCHEMA IF NOT EXISTS "audit";
CREATE SCHEMA IF NOT EXISTS raepa;
CREATE SCHEMA IF NOT EXISTS imports;

COMMIT;
renvoyé 0 [ERREUR: erreur de syntaxe sur ou près de « NOT »
LINE 6: CREATE SCHEMA IF NOT EXISTS "audit";
^
]
Execution failed after 0.03 secondes

Chargement des couches de résultat
Algorithme 'Création de la structure BDD' terminé
@rldhont rldhont added the bug Something isn't working label Mar 22, 2023
@Gustry
Copy link
Member

Gustry commented Mar 22, 2023

Le schéma audit est installé par défaut dans les tests : avec migration et sans migration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants