forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitdfa6eda
committed
Fix tar files emitted by pg_basebackup to be POSIX conformant.
Back-patch portions of commit05b555d.There doesn't seem to be any reason not to fix pg_basebackup fully, butwe can't change pg_dump's "magic" string without breaking older versionsof pg_restore. Instead, just patch pg_restore to accept either versionof the magic string, in hopes of avoiding compatibility problems when9.3 comes out. I also fixed pg_dump to write the correct 2-block EOFmarker, since that won't create a compatibility problem with pg_restoreand it could help with some versions of tar.Brian Weaver and Tom Lane1 parentbc99397 commitdfa6eda
File tree
3 files changed
+64
-34
lines changed- doc/src/sgml
- src
- backend/replication
- bin/pg_dump
3 files changed
+64
-34
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1726 | 1726 | | |
1727 | 1727 | | |
1728 | 1728 | | |
1729 | | - | |
1730 | | - | |
1731 | | - | |
| 1729 | + | |
| 1730 | + | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
1732 | 1734 | | |
1733 | 1735 | | |
1734 | 1736 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
557 | | - | |
| 557 | + | |
558 | 558 | | |
559 | 559 | | |
560 | 560 | | |
| |||
744 | 744 | | |
745 | 745 | | |
746 | 746 | | |
747 | | - | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
748 | 753 | | |
749 | 754 | | |
750 | 755 | | |
751 | | - | |
| 756 | + | |
752 | 757 | | |
753 | 758 | | |
754 | 759 | | |
| |||
827 | 832 | | |
828 | 833 | | |
829 | 834 | | |
830 | | - | |
831 | | - | |
832 | 835 | | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
833 | 842 | | |
834 | 843 | | |
835 | 844 | | |
| |||
841 | 850 | | |
842 | 851 | | |
843 | 852 | | |
844 | | - | |
845 | | - | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
846 | 858 | | |
847 | 859 | | |
848 | 860 | | |
| |||
852 | 864 | | |
853 | 865 | | |
854 | 866 | | |
855 | | - | |
| 867 | + | |
856 | 868 | | |
857 | | - | |
| 869 | + | |
858 | 870 | | |
859 | 871 | | |
860 | 872 | | |
| |||
865 | 877 | | |
866 | 878 | | |
867 | 879 | | |
868 | | - | |
869 | | - | |
| 880 | + | |
870 | 881 | | |
871 | 882 | | |
872 | 883 | | |
873 | 884 | | |
874 | 885 | | |
| 886 | + | |
875 | 887 | | |
876 | 888 | | |
877 | 889 | | |
| |||
881 | 893 | | |
882 | 894 | | |
883 | 895 | | |
884 | | - | |
| 896 | + | |
| 897 | + | |
885 | 898 | | |
886 | | - | |
887 | | - | |
| 899 | + | |
| 900 | + | |
888 | 901 | | |
889 | 902 | | |
890 | 903 | | |
| |||
894 | 907 | | |
895 | 908 | | |
896 | 909 | | |
897 | | - | |
898 | | - | |
| 910 | + | |
| 911 | + | |
899 | 912 | | |
900 | | - | |
901 | | - | |
| 913 | + | |
| 914 | + | |
902 | 915 | | |
903 | | - | |
904 | | - | |
905 | | - | |
906 | | - | |
907 | | - | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
908 | 924 | | |
| 925 | + | |
909 | 926 | | |
910 | 927 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
876 | 876 | | |
877 | 877 | | |
878 | 878 | | |
879 | | - | |
880 | | - | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
881 | 883 | | |
882 | 884 | | |
883 | 885 | | |
| |||
1028 | 1030 | | |
1029 | 1031 | | |
1030 | 1032 | | |
1031 | | - | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
1032 | 1039 | | |
1033 | 1040 | | |
1034 | 1041 | | |
1035 | | - | |
| 1042 | + | |
1036 | 1043 | | |
1037 | 1044 | | |
1038 | 1045 | | |
| |||
1046 | 1053 | | |
1047 | 1054 | | |
1048 | 1055 | | |
1049 | | - | |
1050 | | - | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
1051 | 1062 | | |
1052 | | - | |
1053 | | - | |
| 1063 | + | |
| 1064 | + | |
1054 | 1065 | | |
1055 | 1066 | | |
1056 | 1067 | | |
| |||
0 commit comments
Comments
(0)