Sergei Koveshnikov <acrobat(at)eurocom(dot)od(dot)ua> writes:
> int connect() {
I'm wondering about link conflicts with the standard system call connect().
Also, if you use syslog logging for Postgres error messages, it's
probably unwise to call openlog/closelog for yourself.
regards, tom lane