pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
How do I get started?
3+ messages / 3 participants
[nested] [flat]

* How do I get started?
@ 2006-07-25 22:01  Mike Dorin <bsddorin@yahoo.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Mike Dorin @ 2006-07-25 22:01 UTC (permalink / raw)
  To: pgsql-interfaces



I would like to create a small client on a small
embedded
microprocessor.  The device has Ethernet and can
do TCP or UDP with a bit of finesse.

I would like the client to shove events into a
database.

What should I read to get started?

Thanks,

-Mike
 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: How do I get started?
@ 2006-07-26 00:52  John DeSoi <desoi@pgedit.com>
  parent: Mike Dorin <bsddorin@yahoo.com>
  0 siblings, 1 reply; 3+ messages in thread

From: John DeSoi @ 2006-07-26 00:52 UTC (permalink / raw)
  To: dorin@chaski.com; +Cc: pgsql-interfaces


On Jul 25, 2006, at 6:01 PM, Mike Dorin wrote:

> I would like to create a small client on a small
> embedded
> microprocessor.  The device has Ethernet and can
> do TCP or UDP with a bit of finesse.
>
> I would like the client to shove events into a
> database.
>
> What should I read to get started?

The easiest way to go is to use libpq, assuming you can compile it  
for your microprocessor.

http://www.postgresql.org/docs/8.1/interactive/libpq.html

If not, you can communicate with PostgreSQL via the frontend/backend  
protocol with nothing more than a TCP stream:

http://www.postgresql.org/docs/8.1/interactive/protocol.html

This is a lot more work, but the protocol is not too hard to  
implement. There are various open source versions in different  
languages which might help you get started.



John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: How do I get started?
@ 2007-04-07 12:53  Dave Cramer <pg@fastcrypt.com>
  parent: John DeSoi <desoi@pgedit.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Dave Cramer @ 2007-04-07 12:53 UTC (permalink / raw)
  To: John DeSoi <desoi@pgedit.com>; +Cc: dorin@chaski.com; pgsql-interfaces

Mike,

Candidly you would be better off writing a small http proxy service  
and talking to that as opposed to a full blown psql client.

DAve
On 25-Jul-06, at 8:52 PM, John DeSoi wrote:

>
> On Jul 25, 2006, at 6:01 PM, Mike Dorin wrote:
>
>> I would like to create a small client on a small
>> embedded
>> microprocessor.  The device has Ethernet and can
>> do TCP or UDP with a bit of finesse.
>>
>> I would like the client to shove events into a
>> database.
>>
>> What should I read to get started?
>
> The easiest way to go is to use libpq, assuming you can compile it  
> for your microprocessor.
>
> http://www.postgresql.org/docs/8.1/interactive/libpq.html
>
> If not, you can communicate with PostgreSQL via the frontend/ 
> backend protocol with nothing more than a TCP stream:
>
> http://www.postgresql.org/docs/8.1/interactive/protocol.html
>
> This is a lot more work, but the protocol is not too hard to  
> implement. There are various open source versions in different  
> languages which might help you get started.
>
>
>
> John DeSoi, Ph.D.
> http://pgedit.com/
> Power Tools for PostgreSQL
>
>
> ---------------------------(end of  
> broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that  
> your
>       message can get through to the mailing list cleanly
>




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2007-04-07 12:53 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-07-25 22:01 How do I get started? Mike Dorin <bsddorin@yahoo.com>
2006-07-26 00:52 ` John DeSoi <desoi@pgedit.com>
2007-04-07 12:53   ` Dave Cramer <pg@fastcrypt.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox