public inbox for [email protected]  
help / color / mirror / Atom feed
From: Hayato Kuroda (Fujitsu) <[email protected]>
To: 'abrahim abrahao' <[email protected]>
Cc: [email protected] <[email protected]>
Cc: 'Shlok Kyal' <[email protected]>
Subject:  RE: error “server process was terminated by signal 11: Segmentation fault” running pg_create_logical_replication_slot using pgoutput plugin
Date: Fri, 11 Jul 2025 02:09:41 +0000
Message-ID: <OSCPR01MB14966052872EC78BE7E6C7FBBF54BA@OSCPR01MB14966.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<CANhcyEXh+fbxcfcSatDzFp=PWLW00_Ug35RvunGhHh7epvpdFg@mail.gmail.com>
	<CANhcyEXU4qyFZzKB3ByGqdMrM_v7RpowzLhcRVry6WhxBZaeAA@mail.gmail.com>
	<OS7PR01MB14968C27D3E6D1EE9E5F5AB97F548A@OS7PR01MB14968.jpnprd01.prod.outlook.com>
	<[email protected]>

Dear Abrahim

> The Citus extension package is installed, but it is not preload on shared_preload_libraries
> and citus extesion is not created.

It is possible that a shared library is loaded even if shared_preload is not set
and CREATE EXTENSION is not executed. Per my understanding the specified plugin
name would be searched by the same rule as other libraries. See [1].

Another example is 'test_decoding'. It is a sample plugin which postgres-core
includes. Anyone can use the plugin via SQL function. CREATE EXTENSION is not needed.

```
postgres=# SELECT pg_create_logical_replication_slot('slot', 'test_decoding');
 pg_create_logical_replication_slot 
------------------------------------
 (slot,0/1829CE0)
(1 row)
```

> I will create a new container without Citus extension package ...

Yeah, it is quite helpful to understand the issue correctly. Thanks for working on it.

[1]: https://www.postgresql.org/docs/devel/xfunc-c.html#XFUNC-C-DYNLOAD

Best regards,
Hayato Kuroda
FUJITSU LIMITED



view thread (3+ 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]
  Subject: Re:  RE: error “server process was terminated by signal 11: Segmentation fault” running pg_create_logical_replication_slot using pgoutput plugin
  In-Reply-To: <OSCPR01MB14966052872EC78BE7E6C7FBBF54BA@OSCPR01MB14966.jpnprd01.prod.outlook.com>

* 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