forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit98347b5
committed
Lift limitation that PGPROC->links must be the first field
Since commit5764f61, we've been using the ilist.h functions forhandling the linked list. There's no need for 'links' to be the firstelement of the struct anymore, except for one call in InitProcesswhere we used a straight cast from the 'dlist_node *' to PGPROC *,without the dlist_container() macro. That was just an oversight incommit5764f61, fix it.There no imminent need to move 'links' from being the first field, butlet's be tidy.Reviewed-by: Aleksander Alekseev, Andres FreundDiscussion:https://www.postgresql.org/message-id/22aa749e-cc1a-424a-b455-21325473a794@iki.fi1 parent590b045 commit98347b5
2 files changed
+1
-2
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
330 | 330 |
| |
331 | 331 |
| |
332 | 332 |
| |
333 |
| - | |
| 333 | + | |
334 | 334 |
| |
335 | 335 |
| |
336 | 336 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
161 | 161 |
| |
162 | 162 |
| |
163 | 163 |
| |
164 |
| - | |
165 | 164 |
| |
166 | 165 |
| |
167 | 166 |
| |
|
0 commit comments
Comments
(0)