Thread: question on IPC vs TCPIP

question on IPC vs TCPIP

From
Andrew McIntyre
Date:
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

Thanks!!
--


Re: question on IPC vs TCPIP

From
Martijn van Oosterhout
Date:
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