Re: psqlodbc without libpq

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: brajmohan saxena <braj(dot)saxena(at)gmail(dot)com>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, PostgreSQL mailing lists <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: psqlodbc without libpq
Date: 2016-09-28 19:40:45
Message-ID: a02b1c32-2ee2-6611-3680-bad3843100a7@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

On 09/28/2016 04:49 AM, brajmohan saxena wrote:
> Hi,
>
> Thanks Adrain,Heikki,Micheal for such a valuable respond, Its really
> helpful.
>
> Now I have one more query regarding psqlODBC drivers.
> I can find the plsqODBC drivers source and binaries are available at (
> https://www.postgresql.org/ftp/odbc/versions/ )
> So the community also maintain psqlodbc installable for Linux
> (centos/Ubuntu) with the same release as for Windows.

Are you talking about packages for the binaries for the various Linux
distros?

If so:

For RH family:

https://yum.postgresql.org/news-packagelist.php

For deb:

http://apt.postgresql.org/pub/repos/apt/pool/main/p/psqlodbc/

>
> Thanks in advance,
>
> Regards
> Braj
>
> On Tue, Sep 27, 2016 at 5:22 AM, Michael Paquier
> <michael(dot)paquier(at)gmail(dot)com <mailto:michael(dot)paquier(at)gmail(dot)com>> wrote:
>
> On Tue, Sep 27, 2016 at 4:58 AM, Heikki Linnakangas <hlinnaka(at)iki(dot)fi
> <mailto:hlinnaka(at)iki(dot)fi>> wrote:
> > On 09/26/2016 10:11 PM, Adrian Klaver wrote:
> >>
> >> On 09/23/2016 12:02 AM, brajmohan saxena wrote:
> >>>
> >>> Is there any way I can build the psqlodbc drivers without libpq
> >>> dependency on it.
> >>
> >>
> >> The only way I know is to use a release before 09.05.0100.
> >
> >
> > Note that you can link libpq statically, so that you only need to have libpq
> > around when building, but not when using the driver.
>
> If you for example compile with win64.mak and nmake, you can enforce
> that using /MD or /MT in windows-local.mak, variable CUSTOMCLOPT:
> https://msdn.microsoft.com/en-us/library/2kzt1wy3.aspx
> <https://msdn.microsoft.com/en-us/library/2kzt1wy3.aspx>
> --
> Michael
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Hong06 2016-09-30 13:41:26 ODBC isolationi level SQL_TXN_SERIALIZABLE -> "08001 Already connected."
Previous Message brajmohan saxena 2016-09-28 11:49:39 Re: psqlodbc without libpq