ecpg -I /home/pgsql test2.pgc gcc -o test2 -I/home/pgsql -I/home/include test2.c -L/home/lib -R/home/lib -lecpg