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 年前2158 查看次数
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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则