View Single Post

   
  #2 (permalink)  
Old 04-09-2008, 12:02 PM
Tom Lane
 
Posts: n/a
Default Re: Enableing contrib modules on Debian

"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

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply With Quote