I plan to embed SQL into my C-code using the PostgreSQL SPI, and I would like to the reference NAMEDATALEN const, so my code will be flexible enough to change with the database.
Is there a #include <> I can put in my C-code to reference this const?
Answer referenced from: Complete C-type Table (PostgreSQL v.9.1)
It looks as though I need to do the following, to achieve my goal…
EDIT: After some more digging, I was able to prove my hunch correct.
Pasted from
postgres.hPasted from
c.h