Re: RFC: Additional Directory for Extensions
От | Christoph Berg |
---|---|
Тема | Re: RFC: Additional Directory for Extensions |
Дата | |
Msg-id | aAtzApxI8A03tiXc@msg.df7cb.de обсуждение исходный текст |
Ответ на | Re: RFC: Additional Directory for Extensions ("David E. Wheeler" <david@justatheory.com>) |
Ответы |
Re: RFC: Additional Directory for Extensions
|
Список | pgsql-hackers |
Re: David E. Wheeler > +<programlisting> > +make install prefix=/etc/postgresql I'd use /usr/local/postgresql there. "/etc" is just wrong. > +</programlisting> > + This will install the control SQL files into > + <literal>/etc/postgresql/share</literal> and shared modules into > + <literal>/etc/postgresql/lib</literal>. If the prefix does not > + include the strings <literal>postgresql</literal> or Just "postgres", see src/Makefile.global.in:86. > + <literal>pgsql</literal>, such as: > +<programlisting> > +make install prefix=/etc/extras /usr/local/extras > +</programlisting> > + Then the <literal>postgresql</literal> directory will be appended io the > + prefix, installing the control SQL files into "the extension control and SQL files" > + <literal>/etc/extras/postgresql/share</literal> and shared modules into .../postgresql/share/extension because ... > + <literal>/etc/extras/postgresql/lib</literal>. Either way, you'll need to > + set <xref linkend="guc-extension-control-path"/> and <xref > + linkend="guc-dynamic-library-path"/> to allow > + <productname>PostgreSQL</productname> to find the files: > +</programlisting> > +extension_control_path = '/etc/extras/postgresql/share/extension:$system' ... it's used here. Christoph
В списке pgsql-hackers по дате отправления: