You can read a brief introduction in chapter 19 of my book at:
http://www.postgresql.org/docs/awbook.html
Sounds like you want to use the SPI interface. See the PostgreSQL
manuals for more information.
[ Charset KOI8-R unsupported, converting... ]
> Hello
>
> Can anybody help me?
>
Hello
Can anybody help me?
The question is: Is it possible to write
postgres function on C/C++ that selects
some tables of a database ?
More detailed description.
Suppose I have database with tables A, B.
I've written program on C++ with 'main' function
that reads tables A, B and returns some v