- Notifications
You must be signed in to change notification settings - Fork5
Commitea177a3
committed
Remove unportable use of anonymous unions from reorderbuffer.h.
Inb89e151 I had assumed it was ok to use anonymous unions asstruct members, but while a longstanding extension in many compilers,it's only been standardized in C11.To fix, remove one of the anonymous unions which tried to hide someimplementation specific enum values and give the other a name. Thelatter unfortunately requires changes in output plugins, but since thefeature has only been added a few days ago...Andres Freund1 parent83204e1 commitea177a3
File tree
4 files changed
+186
-182
lines changed- contrib/test_decoding
- src
- backend/replication/logical
- include/replication
4 files changed
+186
-182
lines changedLines changed: 10 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
358 | 358 |
| |
359 | 359 |
| |
360 | 360 |
| |
361 |
| - | |
| 361 | + | |
362 | 362 |
| |
363 | 363 |
| |
364 | 364 |
| |
365 |
| - | |
| 365 | + | |
366 | 366 |
| |
367 | 367 |
| |
368 | 368 |
| |
369 | 369 |
| |
370 |
| - | |
| 370 | + | |
371 | 371 |
| |
372 | 372 |
| |
373 | 373 |
| |
374 |
| - | |
| 374 | + | |
375 | 375 |
| |
376 | 376 |
| |
377 | 377 |
| |
378 | 378 |
| |
379 |
| - | |
| 379 | + | |
380 | 380 |
| |
381 | 381 |
| |
382 | 382 |
| |
383 |
| - | |
| 383 | + | |
384 | 384 |
| |
385 | 385 |
| |
386 | 386 |
| |
387 | 387 |
| |
388 | 388 |
| |
389 | 389 |
| |
390 |
| - | |
| 390 | + | |
391 | 391 |
| |
392 | 392 |
| |
393 | 393 |
| |
394 | 394 |
| |
395 |
| - | |
| 395 | + | |
396 | 396 |
| |
397 | 397 |
| |
| 398 | + | |
| 399 | + | |
398 | 400 |
| |
399 | 401 |
| |
400 | 402 |
| |
|
Lines changed: 14 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
586 | 586 |
| |
587 | 587 |
| |
588 | 588 |
| |
589 |
| - | |
| 589 | + | |
590 | 590 |
| |
591 | 591 |
| |
592 | 592 |
| |
593 | 593 |
| |
594 | 594 |
| |
595 |
| - | |
| 595 | + | |
596 | 596 |
| |
597 | 597 |
| |
598 | 598 |
| |
599 |
| - | |
| 599 | + | |
600 | 600 |
| |
601 | 601 |
| |
602 | 602 |
| |
| |||
626 | 626 |
| |
627 | 627 |
| |
628 | 628 |
| |
629 |
| - | |
| 629 | + | |
630 | 630 |
| |
631 | 631 |
| |
632 | 632 |
| |
633 | 633 |
| |
634 | 634 |
| |
635 | 635 |
| |
636 | 636 |
| |
637 |
| - | |
| 637 | + | |
638 | 638 |
| |
639 | 639 |
| |
640 | 640 |
| |
641 |
| - | |
| 641 | + | |
642 | 642 |
| |
643 | 643 |
| |
644 | 644 |
| |
| |||
648 | 648 |
| |
649 | 649 |
| |
650 | 650 |
| |
651 |
| - | |
| 651 | + | |
652 | 652 |
| |
653 | 653 |
| |
654 |
| - | |
| 654 | + | |
655 | 655 |
| |
656 | 656 |
| |
657 | 657 |
| |
| |||
681 | 681 |
| |
682 | 682 |
| |
683 | 683 |
| |
684 |
| - | |
| 684 | + | |
685 | 685 |
| |
686 | 686 |
| |
687 | 687 |
| |
688 | 688 |
| |
689 | 689 |
| |
690 | 690 |
| |
691 |
| - | |
| 691 | + | |
692 | 692 |
| |
693 | 693 |
| |
694 | 694 |
| |
695 |
| - | |
| 695 | + | |
696 | 696 |
| |
697 | 697 |
| |
698 | 698 |
| |
| |||
735 | 735 |
| |
736 | 736 |
| |
737 | 737 |
| |
738 |
| - | |
| 738 | + | |
739 | 739 |
| |
740 | 740 |
| |
741 | 741 |
| |
| |||
746 | 746 |
| |
747 | 747 |
| |
748 | 748 |
| |
749 |
| - | |
| 749 | + | |
750 | 750 |
| |
751 |
| - | |
| 751 | + | |
752 | 752 |
| |
753 | 753 |
| |
754 | 754 |
| |
|
0 commit comments
Comments
(0)