pg_trgm_pro icon indicating copy to clipboard operation
pg_trgm_pro copied to clipboard

pg_trgm_pro for Windows?

Open abid76 opened this issue 4 years ago • 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

abid76 avatar Feb 15 '21 08:02 abid76

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)

abid76 avatar Feb 15 '21 14:02 abid76