If pghost == "" and pgport == "" then PQsetdbLogin() fails with a error message: Is the postmaster running locally and accepting connections on Unix socket '/tmp/.s.PGSQL.0'? I see many applications such as PHP fails due to this behavior. Now if pgport == "", then it is assumed to be a DEF_PGPORT_STR. This is the same behavior as the version prior 7.1. |
||
---|---|---|
.. | ||
Makefile | ||
README | ||
fe-auth.c | ||
fe-auth.h | ||
fe-connect.c | ||
fe-exec.c | ||
fe-lobj.c | ||
fe-misc.c | ||
fe-print.c | ||
libpq-fe.h | ||
libpq-int.h | ||
libpq.rc | ||
libpqdll.c | ||
libpqdll.def | ||
pqexpbuffer.c | ||
pqexpbuffer.h | ||
pqsignal.c | ||
pqsignal.h | ||
win32.h | ||
win32.mak |
README
This directory contains the C version of Libpq, the POSTGRES frontend library.