Re: Confused about extension and shared_preload_libraries - Mailing list pgsql-hackers

From Japin Li
Subject Re: Confused about extension and shared_preload_libraries
Date
Msg-id MEYP282MB16696310F20D7E8B6C24A854B6379@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
Whole thread Raw
In response to Re: Confused about extension and shared_preload_libraries  (Aleksander Alekseev <aleksander@timescale.com>)
List pgsql-hackers
On Mon, 07 Jun 2021 at 19:25, Aleksander Alekseev <aleksander@timescale.com> wrote:
> Hi Japin,
>
>> When we write a extension using C language, we often add the dynamic
> library
>> into shared_preload_libraries, however, I found that the bloom,
> btree_gist and
>> btree_gin do not follow this rule.  I'm a bit confused with this, could
> anybody
>> explain it for me?
>
> In the general case, you don't need to modify shared_preload_libraries to
> use an extension, regardless of the language in which it's implemented.
> That's it.
>

Thanks for your explanation.

> Some extensions may however require this. See the description of the GUC
> [1].
>
> [1]:
> https://www.postgresql.org/docs/13/runtime-config-client.html#GUC-SHARED-PRELOAD-LIBRARIES

Sorry for my poor reading of the documentation.


-- 
Regrads,
Japin Li.
ChengDu WenWu Information Technology Co.,Ltd.



pgsql-hackers by date:

Previous
From: Julien Rouhaud
Date:
Subject: Re: SQL-standard function body
Next
From: Tatsuro Yamada
Date:
Subject: Re: Duplicate history file?