On 2018-01-13 05:17, Joe wrote:
I'm trying to learn how to use D to connect (and send queries) to Postgres, i.e., libpq in C.
So my question is: is there an easier or better way of passing two arrays of C null-terminated strings to an extern(C) function?
There's a native D library, ddb [1], for connecting to Postgres. Then you don't have to worry about null-terminated strings.
[1] http://code.dlang.org/packages/ddb -- /Jacob Carlborg