forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2d4f1ba
committed
Update types in File API
Make the argument types of the File API match stdio better:- Change the data buffer to void *, from char *.- Change FileWrite() data buffer to const on top of that.- Change amounts to size_t, from int.In passing, change the FilePrefetch() amount argument from int tooff_t, to match the underlying posix_fadvise().Discussion:https://www.postgresql.org/message-id/flat/11dda853-bb5b-59ba-a746-e168b1ce4bdb%40enterprisedb.com1 parent4b3e379 commit2d4f1ba
2 files changed
+7
-7
lines changedLines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1980 | 1980 |
| |
1981 | 1981 |
| |
1982 | 1982 |
| |
1983 |
| - | |
| 1983 | + | |
1984 | 1984 |
| |
1985 | 1985 |
| |
1986 | 1986 |
| |
| |||
2031 | 2031 |
| |
2032 | 2032 |
| |
2033 | 2033 |
| |
2034 |
| - | |
| 2034 | + | |
2035 | 2035 |
| |
2036 | 2036 |
| |
2037 | 2037 |
| |
2038 | 2038 |
| |
2039 | 2039 |
| |
2040 | 2040 |
| |
2041 | 2041 |
| |
2042 |
| - | |
| 2042 | + | |
2043 | 2043 |
| |
2044 | 2044 |
| |
2045 | 2045 |
| |
| |||
2087 | 2087 |
| |
2088 | 2088 |
| |
2089 | 2089 |
| |
2090 |
| - | |
| 2090 | + | |
2091 | 2091 |
| |
2092 | 2092 |
| |
2093 | 2093 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
102 | 102 |
| |
103 | 103 |
| |
104 | 104 |
| |
105 |
| - | |
106 |
| - | |
107 |
| - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
108 | 108 |
| |
109 | 109 |
| |
110 | 110 |
| |
|
0 commit comments
Comments
(0)