forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb0727ae
committed
Tidy up definitions of pg_attribute_hot and pg_attribute_cold
1fa22a4 was a quick fix for portability problem I introduced in697e1d0.1fa22a4 adds a few more cases to the preprocessor logic thanI'd have liked. Andres Freund and Dagfinn Ilmari Mannsåker suggested abetter way to do this.In passing, also adjust the only current usage of these macros so that themacro comes before the function's return type in the declaration of thefunction. This now matches what the definition of the function does.Discussion:https://postgr.es/m/20200625163553.lt6wocbjhklp5pl4@alap3.anarazel.deDiscussion:https://postgr.es/m/87pn43bmok.fsf@wibble.ilmari.org1 parentec05baf commitb0727ae
2 files changed
+10
-8
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
104 | 104 |
| |
105 | 105 |
| |
106 | 106 |
| |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
107 | 116 |
| |
108 | 117 |
| |
109 | 118 |
| |
| |||
195 | 204 |
| |
196 | 205 |
| |
197 | 206 |
| |
198 |
| - | |
199 |
| - | |
200 | 207 |
| |
201 | 208 |
| |
202 | 209 |
| |
| |||
209 | 216 |
| |
210 | 217 |
| |
211 | 218 |
| |
212 |
| - | |
213 |
| - | |
214 |
| - | |
215 |
| - | |
216 |
| - | |
217 | 219 |
| |
218 | 220 |
| |
219 | 221 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
160 | 160 |
| |
161 | 161 |
| |
162 | 162 |
| |
163 |
| - | |
| 163 | + | |
164 | 164 |
| |
165 | 165 |
| |
166 | 166 |
| |
|
0 commit comments
Comments
(0)