diff -r 07b815faa6ac -r f00d03835dd9 src/server/plugins/postgresql/pgtest.c --- a/src/server/plugins/postgresql/pgtest.c Tue Dec 30 21:44:49 2025 +0100 +++ b/src/server/plugins/postgresql/pgtest.c Tue Jan 13 18:09:20 2026 +0100 @@ -151,7 +151,7 @@ if(status_str.length < 13) { return; } - status_str = cx_strsubsl_m(status_str, 9, 3); + status_str = cx_strsubsl(status_str, 9, 3); cxmutstr status_s = cx_strdup(cx_strcast(status_str)); status_code = atoi(status_s.ptr); free(status_s.ptr); @@ -176,7 +176,7 @@ property->value = cx_strdup_a(a, cx_str((const char*)value->content)).ptr; } if(property->namespace && property->name) { - cxmutstr pname = cx_strcat(2, cx_str(property->namespace), cx_str(property->name)); + cxmutstr pname = cx_strcat(CX_NULLSTR, 2, cx_str(property->namespace), cx_str(property->name)); cxMapPut(properties, cx_hash_key(pname.ptr, pname.length), property); free(pname.ptr); }