Re: Enableing contrib modules on Debian - Mailing list pgsql-general

From Tom Lane
Subject Re: Enableing contrib modules on Debian
Date
Msg-id 5829.1161815890@sss.pgh.pa.us
Whole thread Raw
In response to Enableing contrib modules on Debian  ("Stuart Grimshaw" <stuart.grimshaw@gmail.com>)
Responses Re: Enableing contrib modules on Debian
List pgsql-general
"Stuart Grimshaw" <stuart.grimshaw@gmail.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

pgsql-general by date:

Previous
From: "Willy-Bas Loos"
Date:
Subject: Re: password cookie
Next
From: "Joshua D. Drake"
Date:
Subject: NOTICE: word is too long INSERT 0 3014