Re: [GENERAL] How to find out extension directory

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] How to find out extension directory
Дата
Msg-id 29382.1508533841@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] How to find out extension directory  ("David G. Johnston" <david.g.johnston@gmail.com>)
Ответы Re: [GENERAL] How to find out extension directory  (Joe Conway <mail@joeconway.com>)
Список 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 по дате отправления:

Предыдущее
От: Adam LaMore
Дата:
Сообщение: [GENERAL] Logical replication - behavior of REFRESH PUBLICATION's copy_data option
Следующее
От: Joe Conway
Дата:
Сообщение: Re: [GENERAL] How to find out extension directory