question on IPC vs TCPIP
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!!
--
personal Signature
------------------------------------------------------------------------
Andrew McIntyre
amcintyre@m-m.com <mailto:amcintyre@m-m.com>
http://www.mindspring.com/~amcintyr/resume.htm
<http://www.mindspring.com/%7Eamcintyr/resume.htm>
------------------------------------------------------------------------
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.htmlThere 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