Re: question on IPC vs TCPIP - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: question on IPC vs TCPIP
Date
Msg-id 20140101210229.GC19050@svana.org
Whole thread Raw
In response to question on IPC vs TCPIP  (Andrew McIntyre <amcintyre@m-m.com>)
List pgsql-general
On Wed, Jan 01, 2014 at 03:55:50PM -0500, Andrew McIntyre wrote:
> Does postgres have an equivalent C level (or ODBC) parameter so you
> can use IPC for local to db server only code?
> http://pic.dhe.ibm.com/infocenter/db2luw/v10r5/topic/com.ibm.db2.luw.apdv.cli.doc/doc/r0008807.html
>
> There is a measurable reduction in elapsed time for my code when I
> specify IPC. My code uses:
> node.js
> https://npmjs.org/package/odbc
> db2

In general, in postgres you leave the the hostname blank to specify
local IPC.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> He who writes carelessly confesses thereby at the very outset that he does
> not attach much importance to his own thoughts.
   -- Arthur Schopenhauer

Attachment

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: duplicate OID issue when using pg_upgrade to move from 8.4 to 9.2
Next
From: peterlen
Date:
Subject: How to list and describe tables in psql???