[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] DBI

From: Graham Fawcett
Subject: Re: [Chicken-users] DBI
Date: Thu, 28 Feb 2008 09:47:08 -0500

On Thu, Feb 28, 2008 at 4:11 AM, Peter Bex <address@hidden> wrote:
> On Wed, Feb 27, 2008 at 02:27:36PM -0800, Vincent Manis wrote:
>  > On 2008 Feb 27, at 13:27, Graham Fawcett wrote:
>  > > At the driver level, LOBs are often handled with a stream-based
>  > > interface. For an LOB, I'd suggest representing it with a a thunk
>  > > which, when evaluated, returns an input stream, Chicken blob or a
>  > > string. That would allow you to inspect the other column values before
>  > > deciding whether to evaluate the LOB.
>  > +1. -- vincent
>  I assume with "input stream" you mean "input port"?  (With "stream", I
>  think of SRFI-40/41)
>  In that case, +1.

Yes, input port was what I was thinking. Thanks. The input port would
return the body of the LOB and return #!eof when it's consumed.

The "Chicken blob or string" options are redundant, so the revised
proposal is to represent a LOB with a thunk that evaluates to an input


reply via email to

[Prev in Thread] Current Thread [Next in Thread]