forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit10fbb79
committed
Improve log messages related to tablespace_map file
This patch changes the log message which is logged when the serversuccessfully renames backup_label file to *.old but fails to renametablespace_map file during the shutdown. Previously the WARNINGmessage "online backup mode was not canceled" was logged in that case.However this message is confusing because the backup mode is treatedas canceled whenever backup_label is successfully renamed. So thiscommit makes the server log the message "online backup mode canceled"in that case.Also this commit changes errdetail messages so that they follow theerror message style guide.Back-patch to 9.5 where tablespace_map file is introduced.Original patch by Amit Kapila, heavily modified by me.1 parent0f75928 commit10fbb79
1 file changed
+20
-16
lines changedLines changed: 20 additions & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6160 | 6160 |
| |
6161 | 6161 |
| |
6162 | 6162 |
| |
6163 |
| - | |
| 6163 | + | |
6164 | 6164 |
| |
6165 | 6165 |
| |
6166 | 6166 |
| |
6167 | 6167 |
| |
6168 | 6168 |
| |
6169 |
| - | |
| 6169 | + | |
6170 | 6170 |
| |
6171 | 6171 |
| |
6172 | 6172 |
| |
| |||
10911 | 10911 |
| |
10912 | 10912 |
| |
10913 | 10913 |
| |
10914 |
| - | |
| 10914 | + | |
10915 | 10915 |
| |
10916 | 10916 |
| |
10917 | 10917 |
| |
10918 | 10918 |
| |
10919 | 10919 |
| |
10920 | 10920 |
| |
10921 |
| - | |
10922 |
| - | |
10923 |
| - | |
10924 |
| - | |
10925 |
| - | |
10926 |
| - | |
10927 |
| - | |
10928 |
| - | |
| 10921 | + | |
10929 | 10922 |
| |
10930 | 10923 |
| |
10931 | 10924 |
| |
10932 | 10925 |
| |
10933 |
| - | |
| 10926 | + | |
10934 | 10927 |
| |
| 10928 | + | |
10935 | 10929 |
| |
10936 | 10930 |
| |
10937 | 10931 |
| |
10938 | 10932 |
| |
| 10933 | + | |
| 10934 | + | |
| 10935 | + | |
| 10936 | + | |
| 10937 | + | |
10939 | 10938 |
| |
| 10939 | + | |
10940 | 10940 |
| |
10941 | 10941 |
| |
10942 | 10942 |
| |
| |||
10945 | 10945 |
| |
10946 | 10946 |
| |
10947 | 10947 |
| |
10948 |
| - | |
10949 |
| - | |
| 10948 | + | |
| 10949 | + | |
| 10950 | + | |
| 10951 | + | |
10950 | 10952 |
| |
10951 | 10953 |
| |
10952 | 10954 |
| |
10953 | 10955 |
| |
10954 | 10956 |
| |
10955 |
| - | |
10956 |
| - | |
| 10957 | + | |
| 10958 | + | |
| 10959 | + | |
| 10960 | + | |
10957 | 10961 |
| |
10958 | 10962 |
| |
10959 | 10963 |
| |
|
0 commit comments
Comments
(0)