[plt-scheme] SchemeQL & spgsql

From: Matt (mcj4 at kent.ac.uk)
Date: Wed Nov 26 13:25:36 EST 2003

Good evening,

I'm wondering if the Noel/Francisco/Ian/Ryan (or anyone else, for that
matter) have any off-the-cuff thoughts on what it would take to tie spgsql
(Ryan's pure-scheme Postgres driver) into SchemeQL? I tend to make use of
Postgres (mostly), and am about to be in a situation where I will have it
running under OS X, FreeBSD, and Solaris. I'd be a happier puppy if the
bottom of my portability cake was MzScheme, and not ODBC.

Looking in 'connection.ss' in schemeql

;; if, and when, the need to use a different driver with
;; SchemeQL arises.  this require will have to be
;; modify to require the appropriate interface for such a driver.

Is this (largely) the start and end of it? Certainly, spgsql has roughly
the same functionality (get-connection, etc.), so plugging the two
together might not be too bad. Yes? No?

Just wanted to bounce that question out there. At the end of the day, I'd
rather program against the SchemeQL language spec, but don't want to have
to rely on a portability layer that might shift on any one three
systems over the next 2 years (ODBC), most which I have no control over.


Matt Jadud                             http://www.cs-ed.org/blogs/mjadud/
Canterbury Weather: High 51 F / 11 C, Low 42 F / 6 C, Heavy Rain

Posted on the users mailing list.