1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-01-05 13:20:31 +02:00

Fix logging query text to a file

This commit is contained in:
Arthur Zakirov 2017-12-20 17:59:11 +03:00
parent 0a073b4c63
commit b0011282a7

View File

@ -1506,7 +1506,7 @@ pgut_execute(PGconn* conn, const char *query, int nParams, const char **params,
elog(ERROR, "interrupted");
/* write query to elog if verbose */
if (LOG_LEVEL_CONSOLE <= LOG)
if (LOG_LEVEL_CONSOLE <= LOG || LOG_LEVEL_FILE <= LOG)
{
int i;