summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane2025-03-27 17:20:23 +0000
committerTom Lane2025-03-27 17:20:23 +0000
commit51d038da8280a597ebb769a9a1bcf027d4d80132 (patch)
tree4217687975170c0bba591bd80bb995247c8ed2f2 /src
parent2afdb9dd96fb01fa22a11275c0bd47db14d05998 (diff)
Prevent assertion failure in contrib/pg_freespacemap.
Applying pg_freespacemap() to a relation lacking storage (such as a view) caused an assertion failure, although there was no ill effect in non-assert builds. Add an error check for that case. Bug: #18866 Reported-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.org Backpatch-through: 13
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions