forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit110eb4a
committed
Remove enum WaitEventExtension
This enum was used to determine the first ID to use when assigning acustom wait event for extensions, which is always 1. It was kept soas it would be possible to add new in-core wait events in the category"Extension". There is no such thing currently, so let's remove thisenum until a case justifying it pops up. This makes the code simplerand easier to understand.This has as effect to switch back autoprewarm.c to use PG_WAIT_EXTENSIONrather than WAIT_EVENT_EXTENSION, on par with v16 and older stablebranches.Thinko inc9af054.Reported-by: Peter EisentrautDiscussion:https://postgr.es/m/195c6c45-abce-4331-be6a-e87724e1d060@eisentraut.org1 parent372700c commit110eb4a
File tree
4 files changed
+5
-13
lines changed- contrib/pg_prewarm
- src
- backend/utils/activity
- include/utils
- tools/pgindent
4 files changed
+5
-13
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
226 | 226 |
| |
227 | 227 |
| |
228 | 228 |
| |
229 |
| - | |
| 229 | + | |
230 | 230 |
| |
231 | 231 |
| |
232 | 232 |
| |
| |||
253 | 253 |
| |
254 | 254 |
| |
255 | 255 |
| |
256 |
| - | |
| 256 | + | |
257 | 257 |
| |
258 | 258 |
| |
259 | 259 |
| |
|
Lines changed: 3 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
92 |
| - | |
93 |
| - | |
| 92 | + | |
94 | 93 |
| |
95 | 94 |
| |
96 | 95 |
| |
| |||
129 | 128 |
| |
130 | 129 |
| |
131 | 130 |
| |
132 |
| - | |
| 131 | + | |
133 | 132 |
| |
134 | 133 |
| |
135 | 134 |
| |
| |||
244 | 243 |
| |
245 | 244 |
| |
246 | 245 |
| |
247 |
| - | |
| 246 | + | |
248 | 247 |
| |
249 | 248 |
| |
250 | 249 |
| |
|
Lines changed: 0 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 |
| - | |
57 |
| - | |
58 |
| - | |
59 |
| - | |
60 |
| - | |
61 |
| - | |
62 | 56 |
| |
63 | 57 |
| |
64 | 58 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3100 | 3100 |
| |
3101 | 3101 |
| |
3102 | 3102 |
| |
3103 |
| - | |
3104 | 3103 |
| |
3105 | 3104 |
| |
3106 | 3105 |
| |
|
0 commit comments
Comments
(0)