<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2">
</HEAD>
<BODY>
Wow.  That is EXTREMELY cool!<BR>
<BR>
I will try to look at it this weekend.  Thank you very much!<BR>
<BR>
On Fri, 2007-03-09 at 18:31 +0100, Henrik Hjelte wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">I have made a new elephant backend, db-postmodern.</FONT>
<FONT COLOR="#000000">It uses postgresql for storage, and the postmodern lisp socket interface</FONT>
<FONT COLOR="#000000">instead of clsql. The implementation is actually quite different from</FONT>
<FONT COLOR="#000000">the clsql backend. </FONT>

<FONT COLOR="#000000">db-postmodern uses prepared queries and stored procedures for</FONT>
<FONT COLOR="#000000">performance reasons. </FONT>

<FONT COLOR="#000000">The db-postmodern cursor is based on a sql cursor. Each btree has its</FONT>
<FONT COLOR="#000000">own database table.</FONT>

<FONT COLOR="#000000">db-postmodern is slower than the berkeley db backend, I guess about four</FONT>
<FONT COLOR="#000000">or five times.</FONT>

<FONT COLOR="#000000">It now passes all tests and the migration test, but should of course be</FONT>
<FONT COLOR="#000000">regarded as an alpha. It is only tested on sbcl, but should work on all</FONT>
<FONT COLOR="#000000">platforms that postmodern supports.</FONT>

<FONT COLOR="#000000">About postmodern:</FONT>
<FONT COLOR="#000000"><A HREF="http://common-lisp.net/project/postmodern/">http://common-lisp.net/project/postmodern/</A></FONT>
<FONT COLOR="#000000">db-postmodern mainly uses the lower level cl-postgres driver in the</FONT>
<FONT COLOR="#000000">postmodern project.</FONT>

<FONT COLOR="#000000">During development I used a darcs mirror of elephant, and I have</FONT>
<FONT COLOR="#000000">temporarily put it at common-lisp.net. This darcs branch is intended for</FONT>
<FONT COLOR="#000000">people wanting to try db-postmodern, and it is not an automatic mirror</FONT>
<FONT COLOR="#000000">of the cvs elephant.</FONT>

<FONT COLOR="#000000">Download:</FONT>

<FONT COLOR="#000000">To get elephant containing db-postmodern,</FONT>
<FONT COLOR="#000000">darcs get <A HREF="http://common-lisp.net/project/grand-prix/darcs/elephant">http://common-lisp.net/project/grand-prix/darcs/elephant</A></FONT>

<FONT COLOR="#000000">Best wishes,</FONT>
<FONT COLOR="#000000">Henrik Hjelte</FONT>


<FONT COLOR="#000000">_______________________________________________</FONT>
<FONT COLOR="#000000">elephant-devel site list</FONT>
<FONT COLOR="#000000"><A HREF="mailto:elephant-devel@common-lisp.net">elephant-devel@common-lisp.net</A></FONT>
<FONT COLOR="#000000"><A HREF="http://common-lisp.net/mailman/listinfo/elephant-devel">http://common-lisp.net/mailman/listinfo/elephant-devel</A></FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>