jsquery icon indicating copy to clipboard operation
jsquery copied to clipboard

Installing extension in PostgreSQL 9.6

Open dmagrinya opened this issue 8 years ago • 2 comments

Hi, is it possible to install the extension to a system running PostgreSQL 9.6? I'm trying to do it on a system where I have 'bison' version 2.7 installed but it prints the following error after running the command $ make USE_PGXS=1:


ERROR: bison is missing on your system. It is needed to create the file `jsquery_gram.c'. You can either get bison from a GNU mirror site or download an official distribution of PostgreSQL, which contains pre-packaged bison output.


dmagrinya avatar Feb 08 '17 17:02 dmagrinya

I get the same error too on PostgreSQL 9.6 and PostgreSQL 10. (compiling under Mingw64 gcc 4.9.2 where I've got BISON 3.0.4 installed.

Compiles fine against PostgreSQL 9.4 and 9.5. So I assume it must be something included via PostgreSQL 9.6 and 10 tree causing the issue.

I was able to work around the issue by using the jsquery_gram.c built by my PostgreSQL 9.5 compile. Seems to work fine in 9.6, but that's not ideal and not sure if it will cause problems down the line.

robe2 avatar May 12 '17 23:05 robe2

@robe2 could you explain how to build jsquery_gram.c by PostgreSQL 9.5 compile? I'm experiencing the same issue.

dmytrocx75 avatar Jan 02 '19 23:01 dmytrocx75

Please check compliance with the requirements specified in README.md. I'm closing the issue because PostgreSQL 9.6 is no longer supported. Please do not hesitate to create a new issue if you have problems building the extension.

sokolcati avatar Oct 17 '23 16:10 sokolcati