diff -r 90805bb9fbd6 -r b7dcc9c4f270 src/server/plugins/postgresql/config.c --- a/src/server/plugins/postgresql/config.c Sun Nov 06 17:41:39 2022 +0100 +++ b/src/server/plugins/postgresql/config.c Mon Nov 07 17:59:44 2022 +0100 @@ -95,10 +95,10 @@ return NULL; } - cxstring cfg_respool = serverconfig_directive_value(pg, cx_str("ResourcePool")); - cxstring cfg_rootid = serverconfig_directive_value(pg, cx_str("RootId")); - cxstring cfg_rootnode = serverconfig_directive_value(pg, cx_str("RootNode")); - cxstring cfg_dav = serverconfig_directive_value(pg, cx_str("PGDavConfig")); + cxstring cfg_respool = serverconfig_object_directive_value(pg, cx_str("ResourcePool")); + cxstring cfg_rootid = serverconfig_object_directive_value(pg, cx_str("RootId")); + cxstring cfg_rootnode = serverconfig_object_directive_value(pg, cx_str("RootNode")); + cxstring cfg_dav = serverconfig_object_directive_value(pg, cx_str("PGDavConfig")); // minimum requirement is a resource pool if(cfg_respool.length == 0) {