Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id A08DE133798E for ; Thu, 9 Dec 2010 01:01:26 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 82063-06 for ; Thu, 9 Dec 2010 05:01:19 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from qmta02.westchester.pa.mail.comcast.net (qmta02.westchester.pa.mail.comcast.net [76.96.62.24]) by mail.postgresql.org (Postfix) with ESMTP id 41D3A1336B42 for ; Thu, 9 Dec 2010 01:01:19 -0400 (AST) Received: from omta18.westchester.pa.mail.comcast.net ([76.96.62.90]) by qmta02.westchester.pa.mail.comcast.net with comcast id gozS1f0051wpRvQ52t1Kwk; Thu, 09 Dec 2010 05:01:19 +0000 Received: from hanssachs.home ([24.61.85.144]) by omta18.westchester.pa.mail.comcast.net with comcast id gt1K1f00236qgMk3et1KQV; Thu, 09 Dec 2010 05:01:19 +0000 Received: from algo by hanssachs.home with local (Exim 4.72 (FreeBSD)) (envelope-from ) id 1PQYd3-0000wW-PB; Thu, 09 Dec 2010 00:01:17 -0500 Date: Thu, 09 Dec 2010 00:01:17 -0500 Message-Id: From: Alex Goncharov To: Divakar Singh CC: pgsql-performance@postgresql.org In-reply-to: <772237.64789.qm@web65408.mail.ac4.yahoo.com> (message from Divakar Singh on Wed, 8 Dec 2010 20:31:30 -0800 (PST)) Subject: Re: libpq vs ODBC Reply-to: Alex Goncharov References: <772237.64789.qm@web65408.mail.ac4.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.908 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RFC_ABUSE_POST=0.001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201012/136 X-Sequence-Number: 41588 ,--- You/Divakar (Wed, 8 Dec 2010 20:31:30 -0800 (PST)) ----* | Is there any performance penalty when I use ODBC library vs using libpq? In general, yes. In degenerate cases when most of the work happens in the server, no. You need to measure in the contents of your specific application. -- Alex -- alex-goncharov@comcast.net --