Leon P Smith

Results 259 comments of Leon P Smith

That didn't exactly answer my question, why is it even necessary (in your mind) to move to `Maybe Oid`, (regardless of whether it's represented with a `Maybe` or a sentinel...

One thought does occur to me, that this could be done inside `postgresql-libpq` instead of `postgresql-simple`, to reimplement all the blocking `libpq` functions in terms of their non-blocking counterparts. I'm...

Well, Joey has put in a fair bit of effort into researching these issues on Windows, and it turns out that `threadWaitRead` and `threadWaitWrite` don't work on network sockets (and...

Actually, does anybody know if the interruptible FFI calls are "harmless" (other than not actually being interruptible) on older versions of Windows? Then the only downside would be bumping the...

I meant that you can't simply fix `threadWaitRead` and `threadWaitWrite` on Windows. =) In any case, thanks for the recap. After thinking about it a while, I'm inclined to make...

@ocharles, it sounds like you forgot to link your executable `-threaded`, as the particular issue you describe shouldn't be a problem if you are using the threaded runtime.

That said, this is still a good idea, but no I haven't worked on it.

Heh, it happens. =) There are a few details to hash out to using libpq asynchronously. As I said before, I think the most reasonable option is to assume that...

Very interesting, thank you. It's unfortunate that you can't fully implement this without delving into the internals a bit, although perhaps this is acceptable if the benefits are great enough....

I'd really like to see some benchmarks of @rjmac's work. Does anybody have some code that's suitable? I can't say that I have anything suitable at the moment. We really...