Start using C - Mailing list pgsql-interfaces

From Αλέξανδρος Περδικομάτης
Subject Start using C
Date
Msg-id 001e01c1c555$57399c90$0c01a8c0@chaos.haus
Whole thread Raw
List pgsql-interfaces
Hello there,
 
 
I have been working the "psql" command line interface trying to organize a nice database structure.
C is the main compiler I use. I tried the testlibpq.c example with no success. MANY .o files are missing during the linking (compile-only finishes O.K.) and when I try to put the path as a option to the linker it LINKS, but the ONLY result running the executable is: "segmentation fault"
 
PLEASE, HELP me start using my favorite C querying a postgres database!
 
Thanks,
 
Alexandros
 
 

pgsql-interfaces by date:

Previous
From: Jim Parker
Date:
Subject: Checking for open connections using ECPG
Next
From: Oliver Elphick
Date:
Subject: Re: