I recently migrated from 0.8.6 to 0.9.6. Prior to this migration queries and filters on the start_datetime property worked as expected e.g., {"start_datetime": {"eq": "2026-01-01T00:00:00Z"}} returned matches.
After migration, I'm seeing the following error in the logs of our stac-fastapi-pgstac server on searches that include queries/filters on the start_datetime property:
asyncpg.exceptions.UndefinedFunctionError: function to_text(timestamp with time zone) does not exist
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
On the other hand, queries on the end_datetime field work as expected so it seems start_datetime does not get the same special treatment(?). Is this expected or a regression? I was unable to find any mention of a change that would have this effect.
FWIW, I was able to replicate with stac-fastapi-pgstac @ df1de10 using docker compose after a fresh clone so it does not appear to be due to an incomplete migration or other issue in our DB.
Happy to provide any other info that might be helpful!
I recently migrated from 0.8.6 to 0.9.6. Prior to this migration queries and filters on the
start_datetimeproperty worked as expected e.g.,{"start_datetime": {"eq": "2026-01-01T00:00:00Z"}}returned matches.After migration, I'm seeing the following error in the logs of our
stac-fastapi-pgstacserver on searches that include queries/filters on thestart_datetimeproperty:On the other hand, queries on the
end_datetimefield work as expected so it seemsstart_datetimedoes not get the same special treatment(?). Is this expected or a regression? I was unable to find any mention of a change that would have this effect.FWIW, I was able to replicate with stac-fastapi-pgstac @ df1de10 using docker compose after a fresh clone so it does not appear to be due to an incomplete migration or other issue in our DB.
Happy to provide any other info that might be helpful!