Skip to content

feat: add pgstac settings for use_queue and update_collection_extent#241

Merged
hrodmn merged 1 commit intomainfrom
feat/pgstac-update-collection-extent
Mar 25, 2026
Merged

feat: add pgstac settings for use_queue and update_collection_extent#241
hrodmn merged 1 commit intomainfrom
feat/pgstac-update-collection-extent

Conversation

@hrodmn
Copy link
Copy Markdown
Contributor

@hrodmn hrodmn commented Mar 22, 2026

⚠️ Checklist if your PR is changing anything else than documentation

Merge request description

This adds the ability to switch on pgstac.update_collection_extent which updates collection extents based on the items contained within the collection. The best way to use this for catalogs that have a lot of transactions is to use pg_cron with a queue so I added that as an option for the the database bootstrapper also.

This might be considered a breaking change because the database boostrapper API changes a bit, but I'm still thinking about that. This is not a breaking change because the default behavior has not changed, if a user has a custom bootstrap runtime these change will not affect them.

@hrodmn hrodmn self-assigned this Mar 22, 2026
@hrodmn hrodmn force-pushed the feat/pgstac-update-collection-extent branch from a1fdecf to 673356f Compare March 23, 2026 10:54
@hrodmn hrodmn requested a review from bitner March 23, 2026 10:55
@hrodmn hrodmn marked this pull request as ready for review March 23, 2026 10:56
@bitner bitner self-requested a review March 23, 2026 14:50
@hrodmn hrodmn merged commit f84eb7d into main Mar 25, 2026
12 checks passed
@hrodmn hrodmn deleted the feat/pgstac-update-collection-extent branch March 25, 2026 17:08
github-actions bot pushed a commit that referenced this pull request Mar 25, 2026
# [11.4.0](v11.3.1...v11.4.0) (2026-03-25)

### Features

* add pgstac settings for use_queue and update_collection_extent ([#241](#241)) ([f84eb7d](f84eb7d))
@ds-release-bot
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 11.4.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add ability to enable pgstac.update_collection_extent in database bootstrapper

2 participants