forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitceee51e
committed
Rename pg_rewind's copy_file_range() to avoid conflict with new linux syscall.
Upcoming versions of glibc will contain copy_file_range(2), a wrapperaround a new linux syscall for in-kernel copying of data ranges. Thisconflicts with pg_rewinds function of the same name.Therefore rename pg_rewinds version. As our version isn't a genericcopying facility we decided to choose a rewind specific function name.Per buildfarm animal caiman and subsequent discussion with Tom Lane.Author: Andres FreundDiscussion:https://postgr.es/m/20180103033425.w7jkljth3e26sduc@alap3.anarazel.dehttps://postgr.es/m/31122.1514951044@sss.pgh.pa.usBackpatch: 9.5-, where pg_rewind was introduced1 parent85cdcde commitceee51e
1 file changed
+5
-4
lines changedLines changed: 5 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
158 | 158 |
| |
159 | 159 |
| |
160 | 160 |
| |
161 |
| - | |
| 161 | + | |
162 | 162 |
| |
163 | 163 |
| |
164 | 164 |
| |
| |||
224 | 224 |
| |
225 | 225 |
| |
226 | 226 |
| |
227 |
| - | |
| 227 | + | |
228 | 228 |
| |
229 | 229 |
| |
230 | 230 |
| |
231 | 231 |
| |
232 | 232 |
| |
233 | 233 |
| |
234 | 234 |
| |
235 |
| - | |
| 235 | + | |
| 236 | + | |
236 | 237 |
| |
237 | 238 |
| |
238 | 239 |
| |
| |||
259 | 260 |
| |
260 | 261 |
| |
261 | 262 |
| |
262 |
| - | |
| 263 | + | |
263 | 264 |
| |
264 | 265 |
| |
265 | 266 |
| |
|
0 commit comments
Comments
(0)