Re: Sql.pgsql NG unleashed in 8.1

Henrik Grubbström <[email protected]>
Newsgroups gmane.comp.lang.pike.user
Organization Roxen Internet Software AB
Message-ID <[email protected]>
On Tue, 4 Nov 2014, Stephen R. van den Berg wrote:

> Stephen R. van den Berg wrote:
>> The driver supports callback driven queryresults as well.
>> These callbacks currently are called from a separate thread which
>> runs independently from the standard backend.  The reason is because
>> the way the datarows are being delivered is through a Thread.Queue object.
>> As far as I can see, the current backend does not support handling a
>> Thread.Queue as an input or output with read/write callbacks.
>> Any suggestions here?
>
> The above question is still open.

Yes, waiting on a combination of cond-vars and fds in a backend would be 
interesting, but I don't see it being added to Pike 8.0 short term (Pike 
8.1 is a different matter).

> However, I'm happy to announce that the pgsql NG driver in 8.1 passes muster.
> I'm going to try running it in production servers now.
> If it survives that, I'll consider a backport to 8.0.

Great.

-- 
Henrik Grubbström					[email protected]
Roxen Internet Software AB
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.