Re: How to find out extension directory

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: rakeshkumar464 <rakeshkumar464(at)outlook(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to find out extension directory
Date: 2017-10-20 20:57:34
Message-ID: CAKFQuwaSM6o6LdO2xC3-56mXqUiOLhe8PBY2kft0M7=L75LY9g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Oct 20, 2017 at 1:12 PM, rakeshkumar464 <rakeshkumar464(at)outlook(dot)com>
wrote:

> I am documenting on automating installation of pgaudit extension for
> containers. On my laptop I see that the directory where the files
> pgaudit.control and pgaudit--1.2.sql needs to be present is
>
> /usr/share/postgresql/10/extension.
>
> How do I know beforehand where the dir path is ?
>

I think pg_config (
https://www.postgresql.org/docs/current/static/app-pgconfig.html ) is what
you are looking for.

David J.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adam LaMore 2017-10-20 20:58:49 Logical replication - behavior of REFRESH PUBLICATION's copy_data option
Previous Message Melvin Davidson 2017-10-20 20:56:31 Re: How to find out extension directory