Thread: Looking for C++ bytea example

Looking for C++ bytea example

From
"Cason, Kenny"
Date:
I need a real example of using bytea in the following scenario:

1) A large binary object is located in a C++ memory space obtained
through malloc.
2) I want to store it in the database.

What exactly does the code look like?

Thanks,

Kenny