Skip to content

Conversation

@metzm
Copy link
Contributor

@metzm metzm commented Feb 28, 2024

Some scripts did not specify database and driver when calling grass.db_describe(), causing errors if vector maps use non-standard db connections. This PR queries actual db connection settings for affected modules and passes these to grass.db_describe()

@metzm metzm added bug Something isn't working vector Related to vector data processing database Related to database management backport to 8.3 labels Feb 28, 2024
@github-actions github-actions bot added Python Related code is in Python module labels Feb 28, 2024
Copy link
Member

@wenzeslaus wenzeslaus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good and all three tools have tests. Thanks!

@metzm metzm merged commit d33427c into OSGeo:main Feb 28, 2024
@metzm metzm deleted the vector_describe_table branch February 28, 2024 17:00
metzm added a commit that referenced this pull request Feb 28, 2024
fix `db.dropcolumn`, `db.in.ogr`, `v.db.renamecolumn`
@metzm
Copy link
Contributor Author

metzm commented Feb 28, 2024

Backported to G83

@neteler neteler modified the milestones: 8.3.3, 8.3.2 Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working database Related to database management module Python Related code is in Python vector Related to vector data processing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants