Using Postgres connection functions
Jacob Carlborg
doob at me.com
Sat Jan 13 10:10:41 UTC 2018
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
More information about the Digitalmars-d-learn
mailing list