4

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

Nyxynyx
  • 1,449
  • 10
  • 37
  • 47
  • 1
    `/usr/pgsql-9.1/share/extension/` on my installations – Milen A. Radev Sep 13 '12 at 14:53
  • 1
    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

1 Answers1

1
# 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
quanta
  • 50,327
  • 19
  • 152
  • 213