Commit 4b9ca271 authored by Bruce Momjian's avatar Bruce Momjian

Update tcp connection faq.

parent 93c3baa9
Frequently Asked Questions (FAQ) for PostgreSQL Frequently Asked Questions (FAQ) for PostgreSQL
Last updated: Mon Aug 23 17:51:33 EDT 2004 Last updated: Wed Aug 25 23:18:13 EDT 2004
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us) Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
...@@ -488,10 +488,10 @@ ...@@ -488,10 +488,10 @@
3.5) How do I control connections from other hosts? 3.5) How do I control connections from other hosts?
By default, PostgreSQL only allows connections from the local machine By default, PostgreSQL only allows connections from the local machine
using Unix domain sockets. Other machines will not be able to connect using Unix domain sockets or TCP/IP connections. Other machines will
unless you turn on tcpip_sockets in the postgresql.conf and enable not be able to connect unless you modify listen_addresses in the
host-based authentication by modifying the file $PGDATA/pg_hba.conf postgresql.conf and enable host-based authentication by modifying the
accordingly. This will allow TCP/IP connections. file $PGDATA/pg_hba.conf accordingly.
3.6) How do I tune the database engine for better performance? 3.6) How do I tune the database engine for better performance?
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
alink="#0000ff"> alink="#0000ff">
<H1>Frequently Asked Questions (FAQ) for PostgreSQL</H1> <H1>Frequently Asked Questions (FAQ) for PostgreSQL</H1>
<P>Last updated: Mon Aug 23 17:51:33 EDT 2004</P> <P>Last updated: Wed Aug 25 23:18:13 EDT 2004</P>
<P>Current maintainer: Bruce Momjian (<A href= <P>Current maintainer: Bruce Momjian (<A href=
"mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>)<BR> "mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>)<BR>
...@@ -635,11 +635,11 @@ ...@@ -635,11 +635,11 @@
hosts?</H4> hosts?</H4>
<P>By default, PostgreSQL only allows connections from the local <P>By default, PostgreSQL only allows connections from the local
machine using Unix domain sockets. Other machines will not be able machine using Unix domain sockets or TCP/IP connections. Other
to connect unless you turn on tcpip_sockets in the postgresql.conf machines will not be able to connect unless you modify
<B>and</B> enable host-based authentication by modifying the file listen_addresses in the postgresql.conf <B>and</B> enable
<I>$PGDATA/pg_hba.conf</I> accordingly. This will allow TCP/IP host-based authentication by modifying the file
connections.</P> <I>$PGDATA/pg_hba.conf</I> accordingly.</P>
<H4><A name="3.6">3.6</A>) How do I tune the database engine for <H4><A name="3.6">3.6</A>) How do I tune the database engine for
better performance?</H4> better performance?</H4>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment