0

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?

1 Answer 1

3

I should've googled a bit longer before posting. It seems that SPI fits my needs exactly

http://www.postgresql.org/docs/current/static/spi.html

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.