使用以下命令后,我無法重新登錄 postgresql
alter system set shared_preload_libraries = 'pg_wait_sampling';
退出嘗試再次登錄。然后發生錯誤。以下是錯誤代碼:
2022-03-15 11:35:30.726 IST [975] FATAL: could not access file "pg_wait_sampling": No such file or directory
2022-03-15 11:35:30.727 IST [975] LOG: database system is shut down
pg_ctl: could not start server
Examine the log output.
PostgreSQL 版本:14.2。系統:wsl ubuntu。在 conf 檔案 /etc/postgresql/14/main/postgresql.conf":
#shared_preload_libraries='' #(change requires restart)
uj5u.com熱心網友回復:
根據PostgreSQL 檔案 alter命令存盤在postgresql.auto.conf檔案中。
您必須更改此檔案并從此檔案中洗掉pg_wait_sampling
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/444789.html
標籤:PostgreSQL
上一篇:如何分組并獲得相同的結果?
