Deprecated: Function get_magic_quotes_gpc() is deprecated in /qa-include/qa-base.php on line 1170

Deprecated: Function get_magic_quotes_gpc() is deprecated in /qa-include/qa-base.php on line 1183

Warning: session_start(): Cannot start session when headers already sent in /qa-include/app/users.php on line 162

Deprecated: Function get_magic_quotes_gpc() is deprecated in /qa-include/qa-base.php on line 1170

Warning: Cannot modify header information - headers already sent by (output started at /qa-include/qa-base.php:1170) in /qa-include/app/users.php on line 1282

Notice: Trying to access array offset on value of type null in /qa-include/pages/question-view.php on line 1131

Warning: Cannot modify header information - headers already sent by (output started at /qa-include/qa-base.php:1170) in /qa-include/app/page.php on line 356
Unable to create PostGIS extension in pgAdmin - RiverGIS Q&A
Recently we get enormous amount of spam registration. We have closed the registration for new members, sorry...
0 votes
2.2k views
by
edited
Hello all,

I'm following the instructions provided on the RiverGIS website, but have been getting issues right at the start. When I try to create the PostGIS extensions from the SQL query editor, I get the following error message:

ERROR:  could not open extension control file "C:/Program Files/PostgreSQL/9.6/share/extension/postgis.control": No such file or directory
********** Error **********

ERROR: could not open extension control file "C:/Program Files/PostgreSQL/9.6/share/extension/postgis.control": No such file or directory
SQL state: 58P01

I have tried the install on two different computers, Windows 10, and keep getting this issue. Can anyone help?

Thanks,

Mix
by
Ok it has been solved by installing the PostGIS bundle with Application StackBuilder.
by
I am using pgadmin4 on windows 8. I face similar issue. I tried running command:

temba=> create extension postgis;
ERROR:  could not open extension control file "C:/Program Files/PostgreSQL/9.6/share/extension/postgis.control": No such file or directory

What should I do?

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
Welcome to RiverGIS Q&A, where you can ask questions and receive answers from other members of the community.

Visit rivergis.com for documentation and general info about the QGIS plugin.

Categories

...