microo8/plgo

psql server 11

Closed this issue · 1 comments

Changed to plgo.go --

/*
#cgo CFLAGS: -I"/usr/include/postgresql/11/server" -fpic
#cgo LDFLAGS: -shared
//{windowsCFLAGS}

So I could build go module on deb latest.

Just an fyi --

plgo command will replace the /usr/include/postgresql/server string,
with the output from pg_config --includedir-server

I don't know why this cgo CFLAGS is a problem to compile ...