pgrx icon indicating copy to clipboard operation
pgrx copied to clipboard

Adding missing postgres headers to bindings

Open Termina1 opened this issue 4 years ago • 3 comments

I'm trying to write FDW using pgx. I found out that:

pg_foreign_server.h
pg_foreign_table.h

are not included in the bindings generation. Is it possible to add them, so I could use constants defined there.

Termina1 avatar Nov 24 '21 23:11 Termina1

Also include/executor/tuptable.h

Termina1 avatar Nov 25 '21 13:11 Termina1

Thanks. I’ll take a look at this next week. If you want to save some time feel free to edit pgx’ include/*.h files and put up a PR.

eeeebbbbrrrr avatar Nov 25 '21 18:11 eeeebbbbrrrr

Ok, I'm planning to make a PR with few patches for better support of FDW. I'll include those changes in the PR.

Termina1 avatar Nov 26 '21 11:11 Termina1