public inbox for [email protected]  
help / color / mirror / Atom feed
pgsql: Prevent assertion failure in contrib/pg_freespacemap.
6+ messages / 1 participants
[nested] [flat]

* pgsql: Prevent assertion failure in contrib/pg_freespacemap.
@ 2025-03-27 17:20 Tom Lane <[email protected]>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2025-03-27 17:20 UTC (permalink / raw)
  To: [email protected]

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 <[email protected]>
Author: Tender Wang <[email protected]>
Reviewed-by: Euler Taveira <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 13

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/51d038da8280a597ebb769a9a1bcf027d4d80132

Modified Files
--------------
contrib/pg_freespacemap/pg_freespacemap.c | 8 ++++++++
1 file changed, 8 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Prevent assertion failure in contrib/pg_freespacemap.
@ 2025-03-27 17:20 Tom Lane <[email protected]>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2025-03-27 17:20 UTC (permalink / raw)
  To: [email protected]

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 <[email protected]>
Author: Tender Wang <[email protected]>
Reviewed-by: Euler Taveira <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 13

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/41ed749e48b0b5f59c116a12241171a48eebe05a

Modified Files
--------------
contrib/pg_freespacemap/pg_freespacemap.c | 8 ++++++++
1 file changed, 8 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Prevent assertion failure in contrib/pg_freespacemap.
@ 2025-03-27 17:20 Tom Lane <[email protected]>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2025-03-27 17:20 UTC (permalink / raw)
  To: [email protected]

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 <[email protected]>
Author: Tender Wang <[email protected]>
Reviewed-by: Euler Taveira <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 13

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0e86bad380997b3b6d39191df31ad7c1945ab389

Modified Files
--------------
contrib/pg_freespacemap/pg_freespacemap.c | 8 ++++++++
1 file changed, 8 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Prevent assertion failure in contrib/pg_freespacemap.
@ 2025-03-27 17:20 Tom Lane <[email protected]>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2025-03-27 17:20 UTC (permalink / raw)
  To: [email protected]

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 <[email protected]>
Author: Tender Wang <[email protected]>
Reviewed-by: Euler Taveira <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 13

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5ff827389e7739c05888218bd9cd123f0b9b3122

Modified Files
--------------
contrib/pg_freespacemap/pg_freespacemap.c | 7 +++++++
1 file changed, 7 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Prevent assertion failure in contrib/pg_freespacemap.
@ 2025-03-27 17:20 Tom Lane <[email protected]>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2025-03-27 17:20 UTC (permalink / raw)
  To: [email protected]

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 <[email protected]>
Author: Tender Wang <[email protected]>
Reviewed-by: Euler Taveira <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 13

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/db8238da4265a1e381c0b5499cac2518580bb463

Modified Files
--------------
contrib/pg_freespacemap/pg_freespacemap.c | 7 +++++++
1 file changed, 7 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Prevent assertion failure in contrib/pg_freespacemap.
@ 2025-03-27 17:20 Tom Lane <[email protected]>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2025-03-27 17:20 UTC (permalink / raw)
  To: [email protected]

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 <[email protected]>
Author: Tender Wang <[email protected]>
Reviewed-by: Euler Taveira <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 13

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4623d71443de40781135a7040079ab4538974a6f

Modified Files
--------------
contrib/pg_freespacemap/pg_freespacemap.c | 8 ++++++++
1 file changed, 8 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2025-03-27 17:20 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-03-27 17:20 pgsql: Prevent assertion failure in contrib/pg_freespacemap. Tom Lane <[email protected]>
2025-03-27 17:20 pgsql: Prevent assertion failure in contrib/pg_freespacemap. Tom Lane <[email protected]>
2025-03-27 17:20 pgsql: Prevent assertion failure in contrib/pg_freespacemap. Tom Lane <[email protected]>
2025-03-27 17:20 pgsql: Prevent assertion failure in contrib/pg_freespacemap. Tom Lane <[email protected]>
2025-03-27 17:20 pgsql: Prevent assertion failure in contrib/pg_freespacemap. Tom Lane <[email protected]>
2025-03-27 17:20 pgsql: Prevent assertion failure in contrib/pg_freespacemap. Tom Lane <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox