From: Dev Kumkar <devdas.kumkar@gmail.com>
To: Heikki Linnakangas <hlinnakangas@vmware.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: [GENERAL] ODBC constructs
Date: Tue, 21 May 2013 11:58:48 -0700
Message-ID: <CALSLE1MTNLFS_15Xw7L52fWs17VGqyLRTYewv2V4ssmw7AJqNw@mail.gmail.com> (raw)
In-Reply-To: <519B14E7.3010806@vmware.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>
<519B14E7.3010806@vmware.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
On Mon, May 20, 2013 at 11:32 PM, Heikki Linnakangas <
hlinnakangas@vmware.com> wrote:
> 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.
>
Thanks everyone for sharing comments, really useful ones. Yes the
requirement is not connecting to other DBMS but only Postgres and libpq is
the correct way so far from comments here. Regarding libpq performance
wanted to discuss about connection polling like pgpool but I think a
separate post of performance will make sense.
So, coming back to the original question actually I am exploring on both
fronts here - libpq and psqlODBC.
Just one thought here, there is an existing ODBC business logic code which
is talking to sybase database and now same code need to be ported to talk
to postgres, then in this case will the use of psqlODBC quick way?
Otherwise porting of ODBC business logic to libpq constructs needs to be
done.
Regards...
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: devdas.kumkar@gmail.com, hlinnakangas@vmware.com, atri.jiit@gmail.com, pgsql-odbc@postgresql.org, pgsql-general@postgresql.org
Subject: Re: [GENERAL] ODBC constructs
In-Reply-To: <CALSLE1MTNLFS_15Xw7L52fWs17VGqyLRTYewv2V4ssmw7AJqNw@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> <519B14E7.3010806@vmware.com> <CALSLE1MTNLFS_15Xw7L52fWs17VGqyLRTYewv2V4ssmw7AJqNw@mail.gmail.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