Content-Length: 281610 | pFad | http://github.com/postgrespro/postgres_cluster/commit/39a5f2a94f8a3bcfdb3da7391427a63f8f88b210
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7ee433 commit 39a5f2aCopy full SHA for 39a5f2a
src/bin/pgbench/pgbench.c
@@ -3297,10 +3297,17 @@ executeMetaCommand(CState *st, instr_time *now)
3297
3298
if (unlikely(__pg_log_level <= PG_LOG_DEBUG))
3299
{
3300
- fprintf(stderr, "client %d executing \\%s", st->id, argv[0]);
+ PQExpBufferData buf;
3301
+
3302
+ initPQExpBuffer(&buf);
3303
3304
+ printfPQExpBuffer(&buf, "client %d executing \\%s", st->id, argv[0]);
3305
for (int i = 1; i < argc; i++)
- fprintf(stderr, " %s", argv[i]);
- fprintf(stderr, "\n");
3306
+ appendPQExpBuffer(&buf, " %s", argv[i]);
3307
3308
+ pg_log_debug("%s", buf.data);
3309
3310
+ termPQExpBuffer(&buf);
3311
}
3312
3313
if (command->meta == META_SLEEP)
Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/39a5f2a94f8a3bcfdb3da7391427a63f8f88b210
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments