Skip to content

feat: add pgstac settings for use_queue and update_collection_extent#241

Open
hrodmn wants to merge 1 commit intomainfrom
feat/pgstac-update-collection-extent
Open

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

Conversation

@hrodmn
Copy link
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
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

Successfully merging this pull request may close these issues.

Add ability to enable pgstac.update_collection_extent in database bootstrapper

2 participants