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

  • /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
# 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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