Creating Postgresql extensions in D
Andre Pany
andre at s-e-a-p.de
Sun Sep 6 08:42:55 UTC 2020
On Sunday, 6 September 2020 at 05:07:36 UTC, kajaru wrote:
> I haven't found anything except a single topic here where
> there's no helpful information.
>
> Has anyone done that nowadays? Is there any simple example? Is
> it possible at all in D?
As far as I understand it is easily possible. You have to
translate the postgres C headers to D (I think you might find
them on code.dlang.org or use DPP to generate it yourself).
Then you have to do s.th. similiar to this example for C
https://www.percona.com/blog/2019/04/05/writing-postgresql-extensions-is-fun-c-language/
Just ask, when you have questions.
Kind regards
Andre
More information about the Digitalmars-d
mailing list