forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit900d77f
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 parentf2366e5 commit900d77f
File tree
3 files changed
+64
-34
lines changed- doc/src/sgml
- src
- backend/replication
- bin/pg_dump
3 files changed
+64
-34
lines changedLines changed: 5 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1759 | 1759 |
| |
1760 | 1760 |
| |
1761 | 1761 |
| |
1762 |
| - | |
1763 |
| - | |
1764 |
| - | |
| 1762 | + | |
| 1763 | + | |
| 1764 | + | |
| 1765 | + | |
| 1766 | + | |
1765 | 1767 |
| |
1766 | 1768 |
| |
1767 | 1769 |
| |
|
Lines changed: 40 additions & 23 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
572 | 572 |
| |
573 | 573 |
| |
574 | 574 |
| |
575 |
| - | |
| 575 | + | |
576 | 576 |
| |
577 | 577 |
| |
578 | 578 |
| |
| |||
767 | 767 |
| |
768 | 768 |
| |
769 | 769 |
| |
770 |
| - | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
771 | 776 |
| |
772 | 777 |
| |
773 | 778 |
| |
774 |
| - | |
| 779 | + | |
775 | 780 |
| |
776 | 781 |
| |
777 | 782 |
| |
| |||
850 | 855 |
| |
851 | 856 |
| |
852 | 857 |
| |
853 |
| - | |
854 |
| - | |
855 | 858 |
| |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
856 | 865 |
| |
857 | 866 |
| |
858 | 867 |
| |
| |||
864 | 873 |
| |
865 | 874 |
| |
866 | 875 |
| |
867 |
| - | |
868 |
| - | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
869 | 881 |
| |
870 | 882 |
| |
871 | 883 |
| |
| |||
875 | 887 |
| |
876 | 888 |
| |
877 | 889 |
| |
878 |
| - | |
| 890 | + | |
879 | 891 |
| |
880 |
| - | |
| 892 | + | |
881 | 893 |
| |
882 | 894 |
| |
883 | 895 |
| |
| |||
888 | 900 |
| |
889 | 901 |
| |
890 | 902 |
| |
891 |
| - | |
892 |
| - | |
| 903 | + | |
893 | 904 |
| |
894 | 905 |
| |
895 | 906 |
| |
896 | 907 |
| |
897 | 908 |
| |
| 909 | + | |
898 | 910 |
| |
899 | 911 |
| |
900 | 912 |
| |
| |||
904 | 916 |
| |
905 | 917 |
| |
906 | 918 |
| |
907 |
| - | |
| 919 | + | |
| 920 | + | |
908 | 921 |
| |
909 |
| - | |
910 |
| - | |
| 922 | + | |
| 923 | + | |
911 | 924 |
| |
912 | 925 |
| |
913 | 926 |
| |
| |||
917 | 930 |
| |
918 | 931 |
| |
919 | 932 |
| |
920 |
| - | |
921 |
| - | |
| 933 | + | |
| 934 | + | |
922 | 935 |
| |
923 |
| - | |
924 |
| - | |
| 936 | + | |
| 937 | + | |
925 | 938 |
| |
926 |
| - | |
927 |
| - | |
928 |
| - | |
929 |
| - | |
930 |
| - | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
931 | 947 |
| |
| 948 | + | |
932 | 949 |
| |
933 | 950 |
|
Lines changed: 19 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
882 | 882 |
| |
883 | 883 |
| |
884 | 884 |
| |
885 |
| - | |
886 |
| - | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
887 | 889 |
| |
888 | 890 |
| |
889 | 891 |
| |
| |||
1032 | 1034 |
| |
1033 | 1035 |
| |
1034 | 1036 |
| |
1035 |
| - | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
1036 | 1043 |
| |
1037 | 1044 |
| |
1038 | 1045 |
| |
1039 |
| - | |
| 1046 | + | |
1040 | 1047 |
| |
1041 | 1048 |
| |
1042 | 1049 |
| |
| |||
1050 | 1057 |
| |
1051 | 1058 |
| |
1052 | 1059 |
| |
1053 |
| - | |
1054 |
| - | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
1055 | 1066 |
| |
1056 |
| - | |
1057 |
| - | |
| 1067 | + | |
| 1068 | + | |
1058 | 1069 |
| |
1059 | 1070 |
| |
1060 | 1071 |
| |
|
0 commit comments
Comments
(0)