From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Dev Kumkar <devdas.kumkar@gmail.com>
Cc: Atri Sharma <atri.jiit@gmail.com>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: [ODBC] ODBC constructs
Date: Tue, 21 May 2013 09:32:07 +0300
Message-ID: <519B14E7.3010806@vmware.com> (raw)
In-Reply-To: <CALSLE1Nd6qCcywLqm7fCWF3FHP_iGDxCzHspEYf0f88QiQ+d_A@mail.gmail.com>
References: <CALSLE1MARsmPHrRi2jtYDrZz80JQnx8kMjaAh5UGHMNUcoMh3g@mail.gmail.com>
<CALSLE1N=E5XmNHn6AS=7OXMGmC379+vvuBH1Vv5Sin4fPJog+A@mail.gmail.com>
<CALSLE1NfessvrQvwGCy_LBaz4pkaeLAJOwFqmYPgH-cF5wOzRw@mail.gmail.com>
<AD6CD285-763A-46AB-9825-31BF208AAFA4@gmail.com>
<CALSLE1Nd6qCcywLqm7fCWF3FHP_iGDxCzHspEYf0f88QiQ+d_A@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>
On 21.05.2013 08:11, Dev Kumkar wrote:
> On Mon, May 20, 2013 at 9:12 PM, Atri Sharma<atri.jiit@gmail.com> wrote:
>
>>
>> If you wish to work in C,then,I would suggest libpq.I would wait for more
>> replies on this,as I have little knowledge
>> about psqlODBC.
>>
>
> Thanks for the comments. Yes objective is to work in C and found libpq
> useful but am not sure about psqlODBC.
> It would be really great to get comments from community here regarding
> comparison between both of them and also performance perspective. Based on
> my reading so far libpq is good from performance perspective.
libpq is generally-speaking better than psqlodbc. The advantage of ODBC
is that if you have a suitable driver, you can connect to other DBMS' as
well, while libpq will only work with PostgreSQL. Unless you need such
portability, go with libpq.
- Heikki
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: hlinnakangas@vmware.com, devdas.kumkar@gmail.com, atri.jiit@gmail.com, pgsql-odbc@postgresql.org, pgsql-general@postgresql.org
Subject: Re: [ODBC] ODBC constructs
In-Reply-To: <519B14E7.3010806@vmware.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox