| From: | David Rysdam <drysdam(at)ll(dot)mit(dot)edu> |
|---|---|
| To: | Bruce Momjian <bruce(at)momjian(dot)us> |
| Cc: | Steve Spence <greentrust(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Arduino SQL Connector |
| Date: | 2014-04-17 15:01:13 |
| Message-ID: | 8761m86lvq.fsf@loud.ll.mit.edu |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Bruce Momjian <bruce(at)momjian(dot)us> writes:
> On Thu, Apr 17, 2014 at 10:44:36AM -0400, David Rysdam wrote:
>> 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.
Well, I don't know about just picking it up and moving it over. But back
in the day I wrote a C library which I cross-compiled for ARM on my
Intel Linux box and used with my Arduino. At least, I think that's what
I did. This was 6 years ago.
The fact that it (presumably) compiles on Debian under ARM should mean
it would Just Cross-Compile for Arduino. Whether it would fit is another
question.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Susan Cassidy | 2014-04-17 15:01:31 | Re: Re: any way for a transaction to "see" inserts done earlier in the transaction? |
| Previous Message | Susan Cassidy | 2014-04-17 14:58:39 | Re: Re: any way for a transaction to "see" inserts done earlier in the transaction? |