[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    Re: [postgis-users] where is postgis.sql?
From:       Mike Toews <mwtoews () gmail ! com>
Date:       2012-09-29 21:32:49
Message-ID: CAM2FmMo1VLNx=OC+usgsQTQCka+Szueuc_nouKDKTuvqe8Dv0g () mail ! gmail ! com
[Download RAW message or body]

Hi Vince,

What operation system? What method did you install? If you have
pg_config installed (part of the development package of postgres), you
can find the share and contrib directory:

$ ls `pg_config --sharedir`/contrib

But, since you are using 9.1, you should use the extension method of
attaching postgis. From psql/pgAdmin in your target database, use the
DDL command:

CREATE EXTENSION postgis;

-Mike

On 30 September 2012 06:28, Vince Miller <vincentpmiller@yahoo.com> wrote:
> Newby question: I want to attach postgis to my new db. Postgresql 9.1 seemed to \
> install fine, but I can't find postgis.sql. Where is it? It's not in \
> /usr/share/.../contrib as I'm given to expect. I don't want to compile from source \
> to get it, if I don't have to. What's its relationship to postgis.sql.in.c? 
> Thanks for your help.
_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic