Re: libpq in android

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
Thread:
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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Craig Ringer 2011-11-25 05:19:14 Re: BUG #6305: cann't reinstall postgresql
Previous Message Maksym Boguk 2011-11-24 23:12:24 BUG #6307: intarray extention gin index does not work with Hot standby