Skip to content

pypgstac and pgstac database compatibility #123

@drnextgis

Description

@drnextgis

I have a doubt regarding compatibility of pypgstac and pgstac database with different versions.

I use pypgstac 0.4.3 to upload data to the pgstac database programmatically:

import asyncio
from pypgstac.load import load_ndjson

dsn = "..."
asyncio.run(
    load_ndjson(file="items.njson", table="items", dsn=dsn, method="insert")
)

Is it safe to use this code to populate v0.6.X pgstac database or pypgstac must be the same version as the database?

I think it makes sense to reflect this information in docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions