Author: probir <probir(at)connect-tech(dot)co(dot)jp>
Page: 7.3/libpq-build.html
----
I tried to run a query under c language with postgresql on Linux OS.
gcc -c -I/usr/local/pgsql/include pgtest.c
gcc -o pgtest pgtest.o -L/usr/local/pgsql/lib lpq
./pgtest
Segmentation fault
Can you tell me why I am getting Segmentation fault?
Thanks in advance,
-Probir.
=====