Closed Horusiath closed 9 months ago
Thank you for raising this issue @Horusiath. We will look into exposing the regproc.h
API.
This has also being discussed within our Discord channel https://discord.com/channels/561648697805504526/749454413407584258/857511256529043456
I've tried to build a custom extension with a function that could take a name of an index or column as a parameter and do some work on it. After some time I realized, that I need to somehow obtain an oid for that object in order to make further work.
Using C API this looks more or less like this:
The thing is that
utils/regproc.h
file is not referenced by pgx, and therefore not all of the necessary functions - likestringToQualifiedNameList
- are exposed.