I haven't used the derelict version but I have used the C library itself and wrapped it briefly in my postgres.d here:https://github.com/adamdruppe/arsd/blob/master/postgres.d
Thanks! But few questions: 1. how to build it with dub?2. I tried to: dmd app.d database.d postgres.d but get message that "File Not Found pq.lib"
3. Can I build it's simply: dmd app.d ? Would it able to import other 2 file?