| From: | Doug McNaught <doug(at)wireboard(dot)com> |
|---|---|
| To: | elwood(at)agouros(dot)de (Konstantinos Agouros) |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: jdbc-question... |
| Date: | 2001-06-18 16:29:43 |
| Message-ID: | m3elshg39k.fsf@belphigor.mcnaught.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
elwood(at)agouros(dot)de (Konstantinos Agouros) writes:
> can the driver connect to the database only via tcp/ip? Or can I use it one
> the same machine to connect directly?
The JDBC driver can only use TCP/IP (since Java doesn't support Unix
sockets) but you can certainly se it on the same machine. You just
need to start the postmaster with '-i' to allow TCP connections. The
default pg_hba.conf only allows connections on the local interface
(127.0.0.1) so it's reasonably secure.
-Doug
--
The rain man gave me two cures; he said jump right in,
The first was Texas medicine--the second was just railroad gin,
And like a fool I mixed them, and it strangled up my mind,
Now people just get uglier, and I got no sense of time... --Dylan
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2001-06-18 16:33:25 | Re: Help on WAL needed! |
| Previous Message | will trillich | 2001-06-18 16:10:35 | Re: OT: Apache::Session::DBI vs postgresql? --help |