--- a/src/server/plugins/postgresql/webdav.c Fri Sep 09 20:17:23 2022 +0200 +++ b/src/server/plugins/postgresql/webdav.c Sat Sep 24 16:19:24 2022 +0200 @@ -1197,11 +1197,6 @@ snprintf(resource_id_str, 32, "%" PRId64, proppatch->resource_id); params[0] = resource_id_str; - printf("insert\n\n"); - printf("arg0: %s\narg1: %s\n", params[0], params[1]); - printf("%s\n\n", sql->space); - - PGresult *result = PQexecParams( pgdav->connection, sql->space, @@ -1218,7 +1213,6 @@ if(PQresultStatus(result) == PGRES_COMMAND_OK) { // command ok, check if any row was updated char *nrows_affected = PQcmdTuples(result); - printf("insert nrows: %s\n", nrows_affected); if(nrows_affected[0] == '1') { ret = 0; } else { @@ -1252,8 +1246,6 @@ snprintf(resource_id_str, 32, "%" PRId64, proppatch->resource_id); params[0] = resource_id_str; - printf("update\n"); - PGresult *result = PQexecParams( pgdav->connection, sql->space, @@ -1270,7 +1262,6 @@ if(PQresultStatus(result) == PGRES_COMMAND_OK) { // command ok, check if any row was updated char *nrows_affected = PQcmdTuples(result); - printf("nrows: %s\n", nrows_affected); if(nrows_affected[0] == '1') { ret = 0; } else if(nrows_affected[0] == '0') {