forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit00c26b6
committed
Fix a couple of bugs in pg_recvlogical output to stdout.
Don't close stdout on SIGHUP. Also, when a SIGHUP is received, close thefile immediately, rather than only after receiving some more data fromthe server. Rename a variable, to avoid mentally dealing with doublenegatives (not unsynced means synced).1 parent8f9b959 commit00c26b6
1 file changed
+22
-25
lines changedLines changed: 22 additions & 25 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
54 |
| - | |
| 54 | + | |
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
| |||
173 | 173 |
| |
174 | 174 |
| |
175 | 175 |
| |
176 |
| - | |
| 176 | + | |
177 | 177 |
| |
178 | 178 |
| |
179 |
| - | |
| 179 | + | |
180 | 180 |
| |
181 | 181 |
| |
182 | 182 |
| |
| |||
304 | 304 |
| |
305 | 305 |
| |
306 | 306 |
| |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
307 | 318 |
| |
308 | 319 |
| |
309 | 320 |
| |
| |||
327 | 338 |
| |
328 | 339 |
| |
329 | 340 |
| |
330 |
| - | |
| 341 | + | |
331 | 342 |
| |
332 | 343 |
| |
333 | 344 |
| |
| |||
468 | 479 |
| |
469 | 480 |
| |
470 | 481 |
| |
471 |
| - | |
472 |
| - | |
473 |
| - | |
474 |
| - | |
475 |
| - | |
476 |
| - | |
477 |
| - | |
478 |
| - | |
479 |
| - | |
480 |
| - | |
481 |
| - | |
482 |
| - | |
483 |
| - | |
484 |
| - | |
485 |
| - | |
486 |
| - | |
487 |
| - | |
| 482 | + | |
488 | 483 |
| |
489 | 484 |
| |
490 |
| - | |
491 |
| - | |
492 |
| - | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
493 | 490 |
| |
494 | 491 |
| |
495 | 492 |
| |
| |||
503 | 500 |
| |
504 | 501 |
| |
505 | 502 |
| |
506 |
| - | |
| 503 | + | |
507 | 504 |
| |
508 | 505 |
| |
509 | 506 |
| |
|
0 commit comments
Comments
(0)