postgrespro/pg_trgm_pro

pg_trgm_pro for Windows?

Opened this issue · 1 comments

Hi,

building pg_trgm on Windows fails:

C:\Users\abidh\source\repos\pg_trgm_pro>make USE_PGXS=1
makefile:15: C:/Program: No such file or directory
makefile:15: Files/PostgreSQL/11/lib/pgxs/src/makefiles/pgxs.mk: No such file or directory
make: *** Keine Regel, um »Files/PostgreSQL/11/lib/pgxs/src/makefiles/pgxs.mk« zu erstellen.  Schluss.

I guess currently there is no way to use the extension on Windows?

Regards

Update: tried to build it on Windows using nmake + clang.

Result:
trgm_regexp.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "foreach_delete_current" in Funktion "trigramsMatchGraph".

The function foreach_delete_current doesn't seem to exist on Windows (AFAIK should be located in include/nodes/pg_list.h)