Commit dab4464
Prevent debug_query_string from producing garbage in apply worker logs
Initialize debug_query_string to NULL at apply worker startup, since it
is not a regular backend and has no client query string.
Also clear debug_query_string in execute_sql_command_error_cb after the
errcontext call, which already includes the SQL statement, to prevent it
from appearing a second time in the LOG output.1 parent a7a439d commit dab4464
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3282 | 3282 | | |
3283 | 3283 | | |
3284 | 3284 | | |
| 3285 | + | |
| 3286 | + | |
| 3287 | + | |
| 3288 | + | |
| 3289 | + | |
| 3290 | + | |
3285 | 3291 | | |
3286 | 3292 | | |
3287 | 3293 | | |
| |||
4145 | 4151 | | |
4146 | 4152 | | |
4147 | 4153 | | |
| 4154 | + | |
| 4155 | + | |
| 4156 | + | |
| 4157 | + | |
| 4158 | + | |
| 4159 | + | |
| 4160 | + | |
4148 | 4161 | | |
4149 | 4162 | | |
4150 | 4163 | | |
| |||
0 commit comments