Open ben-sandham opened 11 months ago
Thanks for taking a look at this extension! Postgres renamed that macro to PG_GETARG_RANGE_P
several versions ago, and I haven't updated this extension. To be honest it is more of a proof of concept that something intended for production. If you are interested in getting the same features with better support, you should check out Vik Fearing's periods extension. Or hopefully this will all be in core soon (see the commitfest page).
Environment Details
Description
When trying to install the extension, I encountered the following issue.
Issue
Make DatumGetFoo/PG_GETARG_FOO/PG_RETURN_FOO macro names more consistent renamed the PG_GETARG_RANGE macro to PG_GETARG_RANGE_P.
Fix
I do not have contributor abilities to the repo, but the fix should be as simple as changing all references of
PG_GETARG_RANGE
toPG_GETARG_RANGE_P
. Afterwards I had no issue installing the extension and runningcreate_temporal_foreign_key_test.sql
.