- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit4623d71
committed
Prevent assertion failure in contrib/pg_freespacemap.
Applying pg_freespacemap() to a relation lacking storage (such as aview) caused an assertion failure, although there was no ill effectin non-assert builds. Add an error check for that case.Bug: #18866Reported-by: Robins Tharakan <tharakan@gmail.com>Author: Tender Wang <tndrwang@gmail.com>Reviewed-by: Euler Taveira <euler@eulerto.com>Discussion:https://postgr.es/m/18866-d68926d0f1c72d44@postgresql.orgBackpatch-through: 131 parentd66997d commit4623d71
1 file changed
+8
-0
lines changedLines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| 14 | + | |
14 | 15 |
| |
15 | 16 |
| |
16 | 17 |
| |
| |||
33 | 34 |
| |
34 | 35 |
| |
35 | 36 |
| |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
36 | 44 |
| |
37 | 45 |
| |
38 | 46 |
| |
|
0 commit comments
Comments
(0)