Re: Arduino SQL Connector - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Arduino SQL Connector
Date
Msg-id 534FEA6C.3070005@aklaver.com
Whole thread Raw
In response to Re: Arduino SQL Connector  (David Rysdam <drysdam@ll.mit.edu>)
Responses Re: Arduino SQL Connector
List pgsql-general
On 04/17/2014 07:44 AM, David Rysdam wrote:
> Bruce Momjian <bruce@momjian.us> writes:
>> On Thu, Apr 17, 2014 at 09:39:55AM -0400, Steve Spence wrote:
>>> So, who wants to work on this with me? I'm a fair arduino programmer,
>>> but know nothing about postgres.
>>
>> I would look at the MySQL one as a first step to see how that was done.
>> You are basically going to need to duplicate libpq, which is a major
>> undertaking.
>
> Maybe I'm being naive, but isn't libpq already being compiled for ARM by
> Debian? As long as it fits, you should be good. If it doesn't, you'll
> need to strip some stuff out.
>

If you get the MySQL connector from here:

https://launchpad.net/mysql-arduino/+milestone/release-1.0.2-beta

you will see they are doing the equivalent, using the MySQL libmysqlclient:

http://dev.mysql.com/downloads/connector/c/

--
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Arduino SQL Connector
Next
From: Susan Cassidy
Date:
Subject: Re: Re: any way for a transaction to "see" inserts done earlier in the transaction?