creating the "pglogical" extension on Postgresql 9.6.11

0

Hi,

I'm able to create/add other extensions (pg_hint_plan, postgis) to my database, however when I attempt to create the pglogical extension ("CREATE EXTENSION pglogical"), an error is returned ("pglogical is not in shared_preload_libraries").

"pglogical" appears to be one of the default libraries in the "shared_preload_libraries" parameter group.

Is there a known issue with the "pglogical" extension and RDS at this time?

Thanks

已提問 5 年前檢視次數 2159 次
3 個答案
0

Hello,

Have you rebooted your instance since adding pglogical into shared_preload_libraries?
If you run the sql command: "show shared_preload_libraries;" does pglogical show up?

Thanks,
John H

AWS
已回答 5 年前
0

Hi John,

"pglogical" was already in "shared_preload_libraries" (I did not type it in.).
I have rebooted the instance.
The "show shared_preload_libraries;" command returned only one library - "rdsutils". This does strongly suggest that the "pglogical" library is not load (and is the root cause of the issue), however I'm unsure how to proceed (as "pglogical" is already in the "shared_preload_libraries" parameter).

Thanks
Jake

已回答 5 年前
0

Hi John,

Gaaahhhh - user error. I mistook the "allowed" values to be the default values.

I added "pglogical" to the blank "shared_preload_libraries" parameter, rebooted the instance and I have been able to create the pglogical extension as expected.

Thank you for your time
Jake

已回答 5 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南