There's a github repo available for this at

https://github.com/rweikusat/dbdpg.git

Presently, there are three branches, master which is the upstream
master, rw-async which contains the async-related changes and rw-master
which has an additional feature I needed in the past and Debian
packaging support known to work on Debian 12 and Devuan daedalus (Devuan
version of Debian 12 I'm actually running). Packages have been built
from this on all Debian version since 5 but only the most recent ones
were somewhat recently tested.

The rw-master branch also contains a test script in the async-test
subdirectory I've used to verify that the code actually works as
intended which is presently the only documentation on how to use the
changes.

This is my somewhat messy "I need this yesterday and nobody's ever going
to look at it, anyway, code". Known issue (minus general ugliness):
Forcing an immediate prepare uses a synchronous and not an asynchronous
operation. Implicit prepare works as intended (according to DBI trace
output).

I'm planning to turn this into a pull request (procedure to be
determined) once I'm happy with its state. In particular, I'll split the
async changes into async connect and async prepare. As I'm not working
on this full-time, progress will be somewhat slowish.

Reply via email to