sql - ERROR: could not access file "$libdir/postgis-2.0" postgresapp -


i running postgresapp 9.2.4.3 , postgis , trying add geometry column table. postgis extension running.

when run:

select addgeometrycolumn('public'::varchar,'gloutline'::varchar,'geom'::varchar,'4326','multipoly on','2'); 

i'm getting following errors:

error:  not access file "$libdir/postgis-2.0": no such file or directory line 1: alter table public.gloutline add column geom geometry(multip... query:  alter table public.gloutline add column geom geometry(multipolygon, 4326) context:  pl/pgsql function addgeometrycolumn(character varying,character varying,character varying,character varying,integer,character varying,integer,boolean) line 110 @ execute statement sql statement "select addgeometrycolumn('',$1,$2,$3,$4,$5,$6,$7)" pl/pgsql function addgeometrycolumn(character varying,character varying,character varying,integer,character varying,integer,boolean) line 5 @ sql statement 

a reinstall of postgress.app including application support files fixed problem.


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -