forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitdabf63b
committed
pg_basebackup: Fix a couple of recently-introduced bugs.
The server expects the compression level to be between 1 and 9, butZ_DEFAULT_COMPRESSION is -1, so we must not try to send that valueto the server.Because pg_basebackup's -R option is implemented on the client side,it can't be used in combination with a backup target. Error out ifsomeone tries that, instead of silently ignoring the option.Both issues were reported by Tushar Ahuja; patch by me.Discussion:http://postgr.es/m/CA+TgmoaMwgdx8HxBjF8hmbohVvPL_0H5LqNrSq0uU+7BKp_Q2A@mail.gmail.com1 parentacea505 commitdabf63b
1 file changed
+7
-1
lines changedLines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1871 | 1871 |
| |
1872 | 1872 |
| |
1873 | 1873 |
| |
| 1874 | + | |
| 1875 | + | |
| 1876 | + | |
| 1877 | + | |
| 1878 | + | |
| 1879 | + | |
1874 | 1880 |
| |
1875 | 1881 |
| |
1876 | 1882 |
| |
| |||
1913 | 1919 |
| |
1914 | 1920 |
| |
1915 | 1921 |
| |
1916 |
| - | |
| 1922 | + | |
1917 | 1923 |
| |
1918 | 1924 |
| |
1919 | 1925 |
| |
|
0 commit comments
Comments
(0)