Lists: | pgsql-bugs |
---|
From: | Marco Bernasocchi <marco(at)bernawebdesign(dot)ch> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | libpq in android |
Date: | 2011-11-23 11:07:05 |
Message-ID: | 4ECCD3D9.3040505@bernawebdesign.ch |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs |
Hi all, porting QGIS to android I ported libpq as well, I had to modify
two files to successfully compile it without-readline. I attach the two
needed minor patches. further informations can be found at android.qgis.org.
Thanks for considering the patches.
Marco Bernasocchi
Attachment | Content-Type | Size |
---|---|---|
android_support.patch | text/x-patch | 1.0 KB |
libpq.patch | text/x-patch | 627 bytes |
From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Marco Bernasocchi <marco(at)bernawebdesign(dot)ch> |
Cc: | Pg Bugs <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: libpq in android |
Date: | 2011-11-24 20:31:50 |
Message-ID: | 1322166695-sup-316@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs |
Excerpts from Marco Bernasocchi's message of mié nov 23 08:07:05 -0300 2011:
> Hi all, porting QGIS to android I ported libpq as well, I had to modify
> two files to successfully compile it without-readline. I attach the two
> needed minor patches. further informations can be found at android.qgis.org.
I have added this to the open commitfest:
https://commitfest.postgresql.org/action/commitfest_view?id=13
--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Marco Bernasocchi <marco(at)bernawebdesign(dot)ch> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: libpq in android |
Date: | 2011-11-24 22:01:04 |
Message-ID: | 1322172064.20912.28.camel@vanquo.pezone.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs |
On ons, 2011-11-23 at 12:07 +0100, Marco Bernasocchi wrote:
> Hi all, porting QGIS to android I ported libpq as well, I had to modify
> two files to successfully compile it without-readline. I attach the two
> needed minor patches. further informations can be found at android.qgis.org.
The PostgreSQL source tree does not contain any file m4/libtool.m4.
For the second patch, please try to find a feature-detection method of
addressing this problem (e.g., configure check), instead of
harding-coding #ifdef MYPLATFORM.
From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | Marco Bernasocchi <marco(at)bernawebdesign(dot)ch>, Pg Bugs <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: libpq in android |
Date: | 2011-11-25 00:43:21 |
Message-ID: | 1322181759-sup-9871@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs |
Excerpts from Peter Eisentraut's message of jue nov 24 19:01:04 -0300 2011:
> On ons, 2011-11-23 at 12:07 +0100, Marco Bernasocchi wrote:
> > Hi all, porting QGIS to android I ported libpq as well, I had to modify
> > two files to successfully compile it without-readline. I attach the two
> > needed minor patches. further informations can be found at android.qgis.org.
>
> The PostgreSQL source tree does not contain any file m4/libtool.m4.
>
> For the second patch, please try to find a feature-detection method of
> addressing this problem (e.g., configure check), instead of
> harding-coding #ifdef MYPLATFORM.
FWIW I think this can be done simply by replacing the B64 struct member
with int64.
--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
From: | Marco Bernasocchi <marco(at)bernawebdesign(dot)ch> |
---|---|
To: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, Pg Bugs <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: libpq in android |
Date: | 2011-11-29 14:29:44 |
Message-ID: | 4ED4EC58.6040605@bernawebdesign.ch |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs |
Hi do you need an input from me? i used ifdef to be less invading to the
code.
On 11/25/2011 01:43 AM, Alvaro Herrera wrote:
>
> Excerpts from Peter Eisentraut's message of jue nov 24 19:01:04 -0300 2011:
>> On ons, 2011-11-23 at 12:07 +0100, Marco Bernasocchi wrote:
>>> Hi all, porting QGIS to android I ported libpq as well, I had to modify
>>> two files to successfully compile it without-readline. I attach the two
>>> needed minor patches. further informations can be found at android.qgis.org.
>>
>> The PostgreSQL source tree does not contain any file m4/libtool.m4.
>>
>> For the second patch, please try to find a feature-detection method of
>> addressing this problem (e.g., configure check), instead of
>> harding-coding #ifdef MYPLATFORM.
>
> FWIW I think this can be done simply by replacing the B64 struct member
> with int64.
>
--
Marco Bernasocchi
www.opengis.ch
From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Marco Bernasocchi <marco(at)bernawebdesign(dot)ch> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, Pg Bugs <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: libpq in android |
Date: | 2011-11-29 14:51:32 |
Message-ID: | 1322578267-sup-6424@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs |
Excerpts from Marco Bernasocchi's message of mar nov 29 11:29:44 -0300 2011:
>
> Hi do you need an input from me? i used ifdef to be less invading to the
> code.
Please try what I suggest and see if it works on your platform.
> On 11/25/2011 01:43 AM, Alvaro Herrera wrote:
> >
> > Excerpts from Peter Eisentraut's message of jue nov 24 19:01:04 -0300 2011:
> >> On ons, 2011-11-23 at 12:07 +0100, Marco Bernasocchi wrote:
> >>> Hi all, porting QGIS to android I ported libpq as well, I had to modify
> >>> two files to successfully compile it without-readline. I attach the two
> >>> needed minor patches. further informations can be found at android.qgis.org.
> >>
> >> The PostgreSQL source tree does not contain any file m4/libtool.m4.
> >>
> >> For the second patch, please try to find a feature-detection method of
> >> addressing this problem (e.g., configure check), instead of
> >> harding-coding #ifdef MYPLATFORM.
> >
> > FWIW I think this can be done simply by replacing the B64 struct member
> > with int64.
> >
>
--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support