microo8 / plgo

easily create postgresql extensions in golang; moved to gitlab.com/microo8/plgo
292 stars 23 forks source link

Short to long path on windows #31

Closed zavla closed 4 years ago

zavla commented 4 years ago

Allows usage of package plgo under Windows.

Fixes incorrect usage of returned path from "pg_config --includedir-server" on Windows. Emphasis on inability to use binary interface library postgres.lib from Postgres binary distribution with gcc mingw on Windows. Contents a script to generate proper interface library file for postgres.exe to use with gcc on Windows when you compile your extension to Postgres.