forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc1a0d7d
committed
Fix NULL input behaviour of pg_stat_get_replication_slot().
pg_stat_get_replication_slot() accidentally was marked as non-strict, crashingwhen called with NULL input. As it's already released, introduce an explicitNULL check in 14, fix the catalog in HEAD.Bumps catversion in HEAD.Discussion:https://postgr.es/m/20220326212432.s5n2maw6kugnpyxw@alap3.anarazel.deBackpatch: 14-, where replication slot stats were introduced1 parent6839aa7 commitc1a0d7d
File tree
3 files changed
+23
-1
lines changed- src
- backend/utils/adt
- test/regress
- expected
- sql
3 files changed
+23
-1
lines changedLines changed: 10 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2315 | 2315 |
| |
2316 | 2316 |
| |
2317 | 2317 |
| |
2318 |
| - | |
| 2318 | + | |
2319 | 2319 |
| |
2320 | 2320 |
| |
2321 | 2321 |
| |
2322 | 2322 |
| |
2323 | 2323 |
| |
2324 | 2324 |
| |
2325 | 2325 |
| |
| 2326 | + | |
| 2327 | + | |
| 2328 | + | |
| 2329 | + | |
| 2330 | + | |
| 2331 | + | |
| 2332 | + | |
| 2333 | + | |
| 2334 | + | |
2326 | 2335 |
| |
2327 | 2336 |
| |
2328 | 2337 |
| |
|
Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
201 | 201 |
| |
202 | 202 |
| |
203 | 203 |
| |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
204 | 211 |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
176 | 176 |
| |
177 | 177 |
| |
178 | 178 |
| |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
179 | 185 |
|
0 commit comments
Comments
(0)