Re: Arduino SQL Connector - Mailing list pgsql-general

From Steve Spence
Subject Re: Arduino SQL Connector
Date
Msg-id CAHe2DXzh+x=tgjhsT3Bb4wdZ3p0BcDitUWxnyX-vCe8seAxDqw@mail.gmail.com
Whole thread Raw
In response to Re: Arduino SQL Connector  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Arduino SQL Connector
List pgsql-general
no, you can't run arm / debian on an arduino UNO. it's all c++
compiled to machine code then uploaded.
Steve Spence, KK4HFJ
Director, Green Trust
http://www.green-trust.org
Http://arduinotronics.blogspot.com


On Thu, Apr 17, 2014 at 10:49 AM, Bruce Momjian <bruce@momjian.us> wrote:
> On Thu, Apr 17, 2014 at 10:44:36AM -0400, 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.
>
> Oh, can you run Debian ARM code on Arduino?  If so, Postgres's libpq
> could be used directly, though it is probably too big, as you mentioned.
> The MySQL driver is C++, which surprised me.
>
> --
>   Bruce Momjian  <bruce@momjian.us>        http://momjian.us
>   EnterpriseDB                             http://enterprisedb.com
>
>   + Everyone has their own god. +


pgsql-general by date:

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