Re: [GENERAL] How to find out extension directory - Mailing list pgsql-general

From David G. Johnston
Subject Re: [GENERAL] How to find out extension directory
Date
Msg-id CAKFQuwaSM6o6LdO2xC3-56mXqUiOLhe8PBY2kft0M7=L75LY9g@mail.gmail.com
Whole thread Raw
In response to [GENERAL] How to find out extension directory  (rakeshkumar464 <rakeshkumar464@outlook.com>)
Responses Re: [GENERAL] How to find out extension directory
List pgsql-general
On Fri, Oct 20, 2017 at 1:12 PM, rakeshkumar464 <rakeshkumar464@outlook.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.

pgsql-general by date:

Previous
From: Melvin Davidson
Date:
Subject: Re: [GENERAL] How to find out extension directory
Next
From: Adam LaMore
Date:
Subject: [GENERAL] Logical replication - behavior of REFRESH PUBLICATION's copy_data option