Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Where is the contrib directory in PostgreSQL 9.1?

This source states its at /usr/share/pgsql/contrib but the directory /usr/share/pgsql does not exist. I installed PostgreSQL from the rpm, on a CentOS 6.3.

I am basically trying to find the correct location to find /usr/share/pgsql/contrib/postgis-64.sql

share|improve this question
    
/usr/pgsql-9.1/share/extension/ on my installations –  Milen A. Radev Sep 13 '12 at 14:53
    
When I install Postgres91 and contrib from the PGDG repo on CentOS 6, the contrib files/binaries are installed into /usr/pgsql-9.1, alongside the server package's binaries. –  Zac B Sep 20 '12 at 21:00
add comment

1 Answer

up vote 0 down vote accepted
# yum whatprovides /usr/share/pgsql/contrib
...
Reading version lock configuration
Importing additional filelist information
postgresql-contrib-8.1.23-1.el5_7.3.x86_64 : Contributed source and binaries distributed with PostgreSQL
Repo        : base
Matched from:
Filename    : /usr/share/pgsql/contrib
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.