Re: question on IPC vs TCPIP

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Andrew McIntyre <amcintyre(at)m-m(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: question on IPC vs TCPIP
Date: 2014-01-01 21:02:29
Message-ID: 20140101210229.GC19050@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)svana(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message peterlen 2014-01-02 01:53:24 How to list and describe tables in psql???
Previous Message Adrian Klaver 2014-01-01 21:00:11 Re: duplicate OID issue when using pg_upgrade to move from 8.4 to 9.2