1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-22 02:52:08 +03:00

Don't use get_home_path so libpq doesn't pull path.c into the library.

This commit is contained in:
Bruce Momjian
2004-08-19 00:00:34 +00:00
parent 76dd2333d5
commit 84f878f5cd
2 changed files with 15 additions and 7 deletions

View File

@ -1,5 +1,5 @@
<!--
$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.160 2004/08/17 16:54:46 momjian Exp $
$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.161 2004/08/19 00:00:34 momjian Exp $
-->
<chapter id="libpq">
@ -136,7 +136,8 @@ PGconn *PQconnectdb(const char *conninfo);
likely to fail if <application>libpq</application> is passed a host name
that is not the name of the machine at <literal>hostaddr</>.) Also,
<literal>host</> rather than <literal>hostaddr</> is used to identify
the connection in <filename>$HOME/.pgpass</>.
the connection in <filename>$HOME/.pgpass</> (or
<filename>%USERPROFILE%/.pgpass</> on Win32).
</para>
<para>
Without either a host name or host address,