Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Postgis syntax PARALLEL error

I can't create extension in my db. throws a error that says

CREATE EXTENSION postgis;
ERROR: syntax error at or near "PARALLEL"
  Position: 2445

Is there any solution for this issue ?

PostgreSQL version 9.6.
PostGis version 2.3.

Thanks !

like image 215
Shahen Hovhannisyan Avatar asked Oct 29 '22 16:10

Shahen Hovhannisyan


1 Answers

No one could possibly debug this without knowing a lot more information, but it's either

  • a (syntax) error in the extension itself
  • you're not running PostgreSQL 9.6 (maybe you have some earlier version installed alongside it)

Connect to the database that you ran CREATE EXTENSION on, and run this

SELECT version();

My assumption is that you're not on a 9.6 server, and that you're connecting to some earlier version of PostgreSQL. PARALLEL was new with 9.6.

like image 73
NO WAR WITH RUSSIA Avatar answered Nov 15 '22 05:11

NO WAR WITH RUSSIA