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:
parent
0a073b4c63
commit
b0011282a7
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user