Hi Micheal,
sudde2nly a problem has cropped up in my connection.
Its kind of strange.
ECPGdegug(1, stderr) says
[9852]: connect: cold not open database dbxyz on
192.168.0.123 port 5432 for user jsb in line 16
could not connect to server: No route to host
Is the server running on host "
192.168.0.110" and accepting
TCP/IP connections on port 5432?
My server is very much running.
I also made sure that TCP/IP connection is being accepted on port 5432 using nmap -sS localhost in my database server.
Don't know whats wrong now
Also, just an observation (don't know if that is the cause or not) In my clinet machine while compiling my test.c file using
gcc -o test test.c -lecpg -L/usr/lib/pgsql
there's not pgsql directory in /usr/lib.
Where exactly do i have to do this linking thing and to what I have to link it.
Thanks