Re: trap instead of error on 32 TiB table

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Christoph Berg <christoph(dot)berg(at)credativ(dot)de>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: trap instead of error on 32 TiB table
Date: 2021-09-09 19:54:32
Message-ID: 7528b15d-ba0e-5bd9-4cf8-26ca9d627066@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 09/09/2021 17:25, Tom Lane wrote:
> Having done that, the check in md.c could be reduced to an Assert,
> although there's something to be said for leaving it as-is as an
> extra layer of defense.

Some operations call smgrextend() directly, like B-tree index creation.
We don't want those operations to hit an assertion either.

- Heikki

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bossart, Nathan 2021-09-09 21:53:22 Re: Estimating HugePages Requirements?
Previous Message Tom Lane 2021-09-09 19:21:20 Re: We don't enforce NO SCROLL cursor restrictions