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

Error detecting layers not based an postgresql table #108

Open
Gustry opened this issue Mar 29, 2022 · 0 comments
Open

Error detecting layers not based an postgresql table #108

Gustry opened this issue Mar 29, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Gustry
Copy link
Member

Gustry commented Mar 29, 2022

QgsDataSourceUri can be based on a table like :

(SELECT * FROM foo) AS t

PgMetadata is failing loading the metadatasheet on these layers :

2022-03-29T12:36:50     CRITICAL    Error when querying the database : Erreur SQL : SELECT pgmetadata.get_dataset_item_html_content('france', '(SELECT * FROM france.parcelles WHERE id_parcelles IN ('11203000AL0122','11203000AL0123','11203000AL0124'))', 'fr'); renvoyé 0 [ERROR: syntax error at or near "11203000"
             LINE 1: ...T * FROM france.parcelles WHERE id_parcelles IN ('11203000AL...
@Gustry Gustry added the bug Something isn't working label Mar 29, 2022
@Gustry Gustry self-assigned this Mar 29, 2022
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

1 participant