diff options
| author | Tom Lane | 2025-03-27 17:20:23 +0000 |
|---|---|---|
| committer | Tom Lane | 2025-03-27 17:20:23 +0000 |
| commit | 4623d71443de40781135a7040079ab4538974a6f (patch) | |
| tree | d30b5423a5984b0b808762a36e93b9431bc07a21 /src/tools/pgindent | |
| parent | d66997dfe8fe5a2fc6e25a64e78309ca2094f396 (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/tools/pgindent')
0 files changed, 0 insertions, 0 deletions
