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

PgstacCLI.loadextensions "UPDATE pgstac.stac_extensions" does not work #312

Open
jgaucher-cs opened this issue Oct 17, 2024 · 0 comments
Open

Comments

@jgaucher-cs
Copy link

Hi, after some testing in my environment, it seems that the PgstacCLI.loadextensions method part that does the "UPDATE pgstac.stac_extensions" does not work, the changes are not committed in the database: https://github.com/stac-utils/pgstac/blob/v0.9.1/src/pypgstac/python/pypgstac/pypgstac.py#L109

Should we use cur.execute instead of self._db.query to be able to commit this update ?

Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant