Skip to content

Commit b001128

Browse files
committed
Fix logging query text to a file
1 parent 0a073b4 commit b001128

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/pgut.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1506,7 +1506,7 @@ pgut_execute(PGconn* conn, const char *query, int nParams, const char **params,
15061506
elog(ERROR, "interrupted");
15071507

15081508
/* write query to elog if verbose */
1509-
if (LOG_LEVEL_CONSOLE <= LOG)
1509+
if (LOG_LEVEL_CONSOLE <= LOG || LOG_LEVEL_FILE <= LOG)
15101510
{
15111511
int i;
15121512

0 commit comments

Comments
 (0)