[plt-scheme] Scsh script <-- Postgres database --> PLT program

From: Doug Orleans (dougo at place.org)
Date: Wed Apr 27 13:59:39 EDT 2005

Vadim Nasardinov writes:
 > If you want a more high-tech (and correspondingly more difficult to
 > implement) solution, you can kluge a quick and dirty partial
 > implementation of the PostgreSQL frontend-backend V3 protocol that
 > gives you just enough rope to hang yourself by sending simple one-off
 > SELECT queries to the backend without doing server-side prepared
 > statements or any of that fancier, robust stuff:
 > 
 >   http://www.postgresql.org/docs/current/static/protocol-flow.html#AEN55755
 > 
 > All you need for this approach to work is a good socket library which,
 > AFAIK, Scsh does have.

This is basically what spgsql does, so you might have an easier time
porting that to scsh than writing it from scratch.

http://schematics.sourceforge.net/spgsql.html

--dougo at place.org



Posted on the users mailing list.