public inbox for [email protected]
help / color / mirror / Atom feedFrom: Christoph Berg <[email protected]>
To: David E. Wheeler <[email protected]>
Cc: Peter Eisentraut <[email protected]>
Cc: Matheus Alcantara <[email protected]>
Cc: Andrew Dunstan <[email protected]>
Cc: Gabriele Bartolini <[email protected]>
Cc: Craig Ringer <[email protected]>
Cc: Robert Haas <[email protected]>
Cc: Alvaro Herrera <[email protected]>
Cc: PostgreSQL-development <[email protected]>
Subject: Re: RFC: Additional Directory for Extensions
Date: Fri, 25 Apr 2025 13:33:22 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <CAFY6G8dGcv1D8tCkjrz+9DvAYG9h4U=hBm0VXjJEXExy44hauQ@mail.gmail.com>
<CAFY6G8eOMkGXLqzUz=qXrwt4X_HvmVZ13570DAbgAiw+3q03DA@mail.gmail.com>
<CAFY6G8fV5FTqn7p8pxbvPYUD5+ffik-J50GChjKH2Gg7d=fRPg@mail.gmail.com>
<[email protected]>
<CAFY6G8cGeUV0f5K8v-Du0ts3iZyRE6Q5dNtYjQq8cjS4epLX5A@mail.gmail.com>
<[email protected]>
<CAFY6G8d56BK5TZ7K+uw4DHLZ=9Th3p+E1x4pp26nJ_K5k4EUwA@mail.gmail.com>
<[email protected]>
<[email protected]>
<[email protected]>
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
view thread (10+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Subject: Re: RFC: Additional Directory for Extensions
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox