Opened 10 years ago

Closed 10 years ago

#2887 closed defect (invalid)

postgis is missing in list of extensions after installation

Reported by: hansgso Owned by: pramsey
Priority: high Milestone: PostGIS 2.1.4
Component: postgis Version: 2.1.x
Keywords: extension not in list Cc:

Description

I have installed postgis 2.1.3 from source on debian 7.6 with postgres 9.3.

Installation was successful and postgis is working:

SELECT version()
' ' postgis_full_version();

"PostgreSQL 9.3.5 on x86_64-unknown-linux-gnu, compiled by gcc (Debian 4.7.2-5) 4.7.2, 64-bit POSTGIS="2.1.3 r12547" GEOS="3.3.3-CAPI-1.7.4" PROJ="Rel. 4.7.1, 23 September 2009" GDAL="GDAL 1.9.0, released 2011/12/29" LIBXML="2.8.0" LIBJSON="UNKNOWN" TOPOLOG (…)"

I notice that in PGadmin III under database/extensions postgis is not listed, but it is in the view pg_available_extensions.

When I try to install pgrouting I got this message:

ERROR: required extension "postgis" is not installed SQL state: 42704.

It looks like something is missing during the installation of postgis to register it.

Hans

Change History (2)

comment:1 by robe, 10 years ago

did you install with

CREATE EXTENSION postgis;

If you didn't you don't have postgis installed as an extension.

comment:2 by robe, 10 years ago

Resolution: invalid
Status: newclosed

I'm going to close this out. This is a common mistake people make. Just because you have postgis installed does not mean you have it installed as an extension.

If that is not your issue, feel free to reopen.

Note: See TracTickets for help on using tickets.