Re: Arduino SQL Connector - Mailing list pgsql-general

From David Rysdam
Subject Re: Arduino SQL Connector
Date
Msg-id 87wqem6h95.fsf@loud.ll.mit.edu
Whole thread Raw
In response to Re: Arduino SQL Connector  (Steve Spence <greentrust@gmail.com>)
Responses Re: Arduino SQL Connector  (Steve Spence <greentrust@gmail.com>)
List pgsql-general
Steve Spence <greentrust@gmail.com> writes:
> Need a Team lead on this, and I'll collaborate as much as I can on the
> Arduino / Networking side.

I don't understand why there is so much blowback to the idea that you
can just use the existing code. Why exactly wouldn't it work? It
compiles on that architecture already. The only possible issue is size.

Take the libpq source and cross-compile it for the Arduino. I did this
back in 2008 or so for a stepper motor driver that didn't work how I
wanted.

I wouldn't be surprised if the lame Arduino *IDE* won't do this, but
what does that matter?  You can make the library by cross-compiling,
then include it in your Arduino sketch.

That said, I agree with the other poster who questioned why you'd put
the DB client on the device anyway. Seems needlessly difficult and
limiting. Just put a simple serial writer on that end and have a tiny
serial->DB translator on the same machine you were going to put the DB
on. Done in about an hour and you can switch DBMSs without having to
touch the device.


pgsql-general by date:

Previous
From: "Tomas Vondra"
Date:
Subject: Re: Arduino SQL Connector
Next
From: Steve Spence
Date:
Subject: Re: Arduino SQL Connector