Re: getting access to geodistance (what do I need to install/enable) in an existing db install

From: Assad Jarrahian <jarraa(at)gmail(dot)com>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: getting access to geodistance (what do I need to install/enable) in an existing db install
Date: 2006-01-12 03:59:11
Message-ID: 4bd3e1480601111959u7d9ad422wfded373fc3eb151d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Michael,
I found the files cube.sql and earthdistance.sql in the contrib
directory on my windows box. I put it on my debian box and then
psql'ed into the db and did \i cube.sql and thats how I got the
message.
But I am still stumped as to how to get it to work.
Additionally, I was trying to install postgis on the debian box and
cannot find the contrib directory.

thanks for your help
-assad

On 1/11/06, Michael Fuhr <mike(at)fuhr(dot)org> wrote:
> [Please copy the mailing list on replies.]
>
> On Wed, Jan 11, 2006 at 08:02:56PM -0700, Assad Jarrahian wrote:
> > I tried that, but it said type cube does not exists. I tried
> > looking around and could not find the file where CREATE type cube is
> > in.
>
> cube and earthdistance are contributed modules; in the PostgreSQL
> source code they're under the contrib directory. If you're using
> pre-built packages then look through the available packages for
> something with a name like postgresql-contrib, pgsql-contrib, etc.
> The required SQL files and shared objects should be in that package.
>
> --
> Michael Fuhr
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2006-01-12 04:09:26 Re: getting access to geodistance (what do I need to install/enable) in an existing db install
Previous Message Adam 2006-01-12 03:55:53 Granting Privleges on All Tables in One Comand?