From: | Christoph Berg <myon(at)debian(dot)org> |
---|---|
To: | "David E(dot) Wheeler" <david(at)justatheory(dot)com> |
Cc: | Peter Eisentraut <peter(at)eisentraut(dot)org>, Matheus Alcantara <matheusssilv97(at)gmail(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Gabriele Bartolini <gabriele(dot)bartolini(at)enterprisedb(dot)com>, Craig Ringer <craig(dot)ringer(at)enterprisedb(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: RFC: Additional Directory for Extensions |
Date: | 2025-04-25 11:33:22 |
Message-ID: | aAtzApxI8A03tiXc@msg.df7cb.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Kapila | 2025-04-25 11:41:48 | Re: Fix premature xmin advancement during fast forward decoding |
Previous Message | Christoph Berg | 2025-04-25 10:52:30 | doc: Some copy-editing around prefix operators |