nabstime.h introduced in this commit doesn't seem to exist anywhere. I can only find a reference to it in old versions of PostgreSQL, and it doesn't look like it's used in this library.
Makefile:25: warning: overriding recipe for target 'pg_ulid.so'
/usr/lib/postgresql/pgxs/src/makefiles/../../src/Makefile.shlib:293: warning: ignoring old recipe for target 'pg_ulid.so'
make: Circular pg_ulid.so <- pg_ulid.so dependency dropped.
go build -buildmode=c-shared -o pg_ulid.so main.go pg_ulid.go
# command-line-arguments
./main.go:11:10: fatal error: utils/nabstime.h: No such file or directory
11 | #include "utils/nabstime.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:25: pg_ulid.so] Error 2
nabstime.h introduced in this commit doesn't seem to exist anywhere. I can only find a reference to it in old versions of PostgreSQL, and it doesn't look like it's used in this library.