gcc -O2 -march=i686 -o cologger logger.c -I/opt/co/pgsql/include -L/opt/co/pgsql/lib -lpq