I am writing an extension function in C for PostgreSQL. I can find lots of examples online but nothing that explicitly shows how to actually write data to a table in an extension function?
Where do I need to look to find the right functionality/documentation for writing a record to an existing table as a C extension?