Postgres 可以禁用 TOAST 来克服 4B table 限制吗?

Postgres can you disable TOAST to overcome 4B table limit?

我知道 PostgreSQL 的 TOAST is automatically used whenever a row size is > 2KB. However TOAST seems to have a table limit 有 40 亿行。对于 Postgres 中大于 4B 行(大行)的数据库,是否有任何解决方法?禁用 TOAST 是一个选项吗?

好像不能关掉entirely (indeed, if you do, you will immediately run into an insertion failure), however, if you modify your storage to MAIN type then it will only do "out of line" storage if the row size exceeds 8KB (so possibly less frequently depending on your average row size). See here and here