forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4eb179e
committed
libpq: Add suppress argument to pqTraceOutputNchar
In future commits we're going to trace authentication related messages.Some of these messages contain challenge bytes as part of achallenge-response flow. Since these bytes are different for everyconnection, we want to normalize them when the PQTRACE_REGRESS_MODEtrace flag is set. This commit modifies pqTraceOutputNchar to take asuppress argument, which makes it possible to do so.Author: Jelte Fennema-Nio <postgres@jeltef.nl>Discussion:https://postgr.es/m/CAGECzQSoPHtZ4xe0raJ6FYSEiPPS+YWXBhOGo+Y1YecLgknF3g@mail.gmail.com1 parenta90bdd7 commit4eb179e
1 file changed
+16
-5
lines changedLines changed: 16 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
158 | 158 |
| |
159 | 159 |
| |
160 | 160 |
| |
| 161 | + | |
| 162 | + | |
161 | 163 |
| |
162 | 164 |
| |
163 | 165 |
| |
| |||
183 | 185 |
| |
184 | 186 |
| |
185 | 187 |
| |
| 188 | + | |
| 189 | + | |
186 | 190 |
| |
187 | 191 |
| |
188 |
| - | |
| 192 | + | |
189 | 193 |
| |
190 | 194 |
| |
191 | 195 |
| |
192 | 196 |
| |
193 | 197 |
| |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
194 | 205 |
| |
195 | 206 |
| |
196 | 207 |
| |
| |||
246 | 257 |
| |
247 | 258 |
| |
248 | 259 |
| |
249 |
| - | |
| 260 | + | |
250 | 261 |
| |
251 | 262 |
| |
252 | 263 |
| |
| |||
283 | 294 |
| |
284 | 295 |
| |
285 | 296 |
| |
286 |
| - | |
| 297 | + | |
287 | 298 |
| |
288 | 299 |
| |
289 | 300 |
| |
| |||
363 | 374 |
| |
364 | 375 |
| |
365 | 376 |
| |
366 |
| - | |
| 377 | + | |
367 | 378 |
| |
368 | 379 |
| |
369 | 380 |
| |
| |||
487 | 498 |
| |
488 | 499 |
| |
489 | 500 |
| |
490 |
| - | |
| 501 | + | |
491 | 502 |
| |
492 | 503 |
| |
493 | 504 |
| |
|
0 commit comments
Comments
(0)