On Sun, 08 Dec 2013 11:05:16 +0100, Sönke Ludwig wrote:

Am 08.12.2013 10:47, schrieb zhaopuming:

Hi,

Is there currently a postgre binding/lib that works with vibe.d? From the docs it seems that an external I/O libaray needs to support an async connection in order to be workable with vibe.d.
In the case of a sql client, we need to change its socket to an async socket right? For the case of mysql, people got an native implementation in D and modified its source code to make this happen.
But what about postgre? What do we need to do to make it happen? For the case of a biding, do we need to modify its C code?

Just in time :)

https://github.com/rejectedsoftware/vibe.d/issues/282

http://code.dlang.org/packages/ddb

I think it was written from scratch based on the public protocol
specification.

Thanks, that's great!

I'll look and see what I can help. I'm a newbie though :)