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

From Tom Lane
Subject Re: [GENERAL] How to find out extension directory
Date
Msg-id 29382.1508533841@sss.pgh.pa.us
Whole thread Raw
In response to Re: [GENERAL] How to find out extension directory  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: [GENERAL] How to find out extension directory  (Joe Conway <mail@joeconway.com>)
List pgsql-general
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Fri, Oct 20, 2017 at 1:12 PM, rakeshkumar464 <rakeshkumar464@outlook.com>
> wrote:
>> 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.

specifically, you can assume it's the "extension" subdirectory of
whatever SHAREDIR is.  "pg_config --sharedir" will tell you that.
        regards, tom lane


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

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