pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedpsqlodbc without libpq
6+ messages / 4 participants
[nested] [flat]
* psqlodbc without libpq
@ 2016-09-23 07:02 brajmohan saxena <braj.saxena@gmail.com>
0 siblings, 1 reply; 6+ messages in thread
From: brajmohan saxena @ 2016-09-23 07:02 UTC (permalink / raw)
To: pgsql-odbc
Hi
Please let me know why do we need libpq while building/compiling psqlodbc
drivers on latest driver versions.
Is there any way I can build the psqlodbc drivers without libpq dependency
on it.
Thanks in advance.
Regards
Braj
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: psqlodbc without libpq
@ 2016-09-26 19:11 Adrian Klaver <adrian.klaver@aklaver.com>
parent: brajmohan saxena <braj.saxena@gmail.com>
0 siblings, 1 reply; 6+ messages in thread
From: Adrian Klaver @ 2016-09-26 19:11 UTC (permalink / raw)
To: brajmohan saxena <braj.saxena@gmail.com>; pgsql-odbc
On 09/23/2016 12:02 AM, brajmohan saxena wrote:
> Hi
>
> Please let me know why do we need libpq while building/compiling
> psqlodbc drivers on latest driver versions.
https://odbc.postgresql.org/docs/release.html
"psqlODBC 09.05.0100 Release
Changes:
Use libpq for all communication with the server
Previously, libpq was only used for authentication. Using it for all
communication lets us remove a lot of duplicated code. libpq is now
required for building or using libpq." <-- Pretty sure that is supposed
to be psqlodbc.
>
> 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.
> Thanks in advance.
>
> Regards
> Braj
--
Adrian Klaver
adrian.klaver@aklaver.com
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: psqlodbc without libpq
@ 2016-09-26 19:58 Heikki Linnakangas <hlinnaka@iki.fi>
parent: Adrian Klaver <adrian.klaver@aklaver.com>
0 siblings, 1 reply; 6+ messages in thread
From: Heikki Linnakangas @ 2016-09-26 19:58 UTC (permalink / raw)
To: brajmohan saxena <braj.saxena@gmail.com>; +Cc: Adrian Klaver <adrian.klaver@aklaver.com>; pgsql-odbc
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.
- Heikki
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: psqlodbc without libpq
@ 2016-09-26 23:52 Michael Paquier <michael.paquier@gmail.com>
parent: Heikki Linnakangas <hlinnaka@iki.fi>
0 siblings, 1 reply; 6+ messages in thread
From: Michael Paquier @ 2016-09-26 23:52 UTC (permalink / raw)
To: Heikki Linnakangas <hlinnaka@iki.fi>; +Cc: brajmohan saxena <braj.saxena@gmail.com>; Adrian Klaver <adrian.klaver@aklaver.com>; pgsql-odbc
On Tue, Sep 27, 2016 at 4:58 AM, Heikki Linnakangas <hlinnaka@iki.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
--
Michael
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: psqlodbc without libpq
@ 2016-09-28 11:49 brajmohan saxena <braj.saxena@gmail.com>
parent: Michael Paquier <michael.paquier@gmail.com>
0 siblings, 1 reply; 6+ messages in thread
From: brajmohan saxena @ 2016-09-28 11:49 UTC (permalink / raw)
To: Michael Paquier <michael.paquier@gmail.com>; +Cc: Heikki Linnakangas <hlinnaka@iki.fi>; Adrian Klaver <adrian.klaver@aklaver.com>; pgsql-odbc
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.
Thanks in advance,
Regards
Braj
On Tue, Sep 27, 2016 at 5:22 AM, Michael Paquier <michael.paquier@gmail.com>
wrote:
> On Tue, Sep 27, 2016 at 4:58 AM, Heikki Linnakangas <hlinnaka@iki.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
> --
> Michael
>
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: psqlodbc without libpq
@ 2016-09-28 19:40 Adrian Klaver <adrian.klaver@aklaver.com>
parent: brajmohan saxena <braj.saxena@gmail.com>
0 siblings, 0 replies; 6+ messages in thread
From: Adrian Klaver @ 2016-09-28 19:40 UTC (permalink / raw)
To: brajmohan saxena <braj.saxena@gmail.com>; Michael Paquier <michael.paquier@gmail.com>; +Cc: Heikki Linnakangas <hlinnaka@iki.fi>; 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.paquier@gmail.com <mailto:michael.paquier@gmail.com>> wrote:
>
> On Tue, Sep 27, 2016 at 4:58 AM, Heikki Linnakangas <hlinnaka@iki.fi
> <mailto:hlinnaka@iki.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.klaver@aklaver.com
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2016-09-28 19:40 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-09-23 07:02 psqlodbc without libpq brajmohan saxena <braj.saxena@gmail.com>
2016-09-26 19:11 ` Adrian Klaver <adrian.klaver@aklaver.com>
2016-09-26 19:58 ` Heikki Linnakangas <hlinnaka@iki.fi>
2016-09-26 23:52 ` Michael Paquier <michael.paquier@gmail.com>
2016-09-28 11:49 ` brajmohan saxena <braj.saxena@gmail.com>
2016-09-28 19:40 ` Adrian Klaver <adrian.klaver@aklaver.com>
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