Re: Enableing contrib modules on Debian

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Stuart Grimshaw" <stuart(dot)grimshaw(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Enableing contrib modules on Debian
Date: 2006-10-25 22:38:10
Message-ID: 5829.1161815890@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Stuart Grimshaw" <stuart(dot)grimshaw(at)gmail(dot)com> writes:
> I've installed the postgresql-contrib8.1 deb package to get at the
> earthdistance function, but it doesn't seem to be recognised, even
> after a restart of the server.

> Is there a final step I need to take after using apt-get to install?

Yeah, you have to run the SQL script included in the module to define
its functions within a particular database. Look for earthdistance.sql
among the files installed by the .deb (it's likely under /usr/share).

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2006-10-25 22:47:21 NOTICE: word is too long INSERT 0 3014
Previous Message Willy-Bas Loos 2006-10-25 22:27:49 Re: password cookie