Before using ECPG, i had a few questions.
Lets say i have a C code and want to do something with my postgres database.
What all header files do i need for ECPG.
Also how and where exactly am i going to write these EXEC SQL statements for ECPG.
Can I be briefed about the steps to do this.
Regards,
~Jas
On 6/29/06, Richard Broersma Jr <rabroersma@xxxxxxxxx
> wrote:
> What if I don't have a shell script and instead of that I have a C code and
> need to connect to the postgres database.
> How do i accomplish this? do i still need to call this psql clinet interface
> or there is some other way to do it..
In this case you could use ecpg:
http://www.postgresql.org/docs/8.1/interactive/ecpg.html
If you are interested in any other programming languages that can connect please see:
http://www.postgresql.org/download/
notice the section:
"Application Programming Interfaces"
Regards,
Richard Broersma Jr.