forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit187e1c9
Simplify some conditions related to [LW]Lock in generate-wait_event_types.pl
The first check on the enum values was not necessary as the values setin wait_event_names.txt for the classes LWLock and Lock were able tosatisfy the check. The second check when generating the C and headerfiles is now based on a match of the class names, making it simpler tounderstand.Author: Masahiro Ikeda, Michael PaquierDiscussion:https://postgr.es/m/eaf82a85c0ef1b55dc3b651d3f7b867a@oss.nttdata.com1 parentb66ed60 commit187e1c9
1 file changed
+3
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | | - | |
90 | 88 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
| 89 | + | |
95 | 90 | | |
96 | 91 | | |
97 | 92 | | |
| |||
141 | 136 | | |
142 | 137 | | |
143 | 138 | | |
144 | | - | |
145 | | - | |
| 139 | + | |
| 140 | + | |
146 | 141 | | |
147 | 142 | | |
148 | 143 | | |
| |||
0 commit comments
Comments
(0)