Make libpq default to localhost connections on machines without Unix-domain
Tom Lane <tgl@sss.pgh.pa.us>
Make libpq default to localhost connections on machines without Unix-domain sockets, rather than failing as it formerly did. Revert the thereby-obsoleted patch to make psql supply the localhost default.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/libpq.sgml | modified | +15 −5 |
| doc/src/sgml/ref/psql-ref.sgml | modified | +15 −10 |
| src/bin/psql/startup.c | modified | +1 −6 |
| src/interfaces/libpq/fe-connect.c | modified | +8 −4 |