Re: PSQL error: total cell count of XXX exceeded

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: PSQL error: total cell count of XXX exceeded
Дата
Msg-id 202311211433.d5o7n6a25xtx@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: PSQL error: total cell count of XXX exceeded  (Hongxu Ma <interma@outlook.com>)
Ответы Re: PSQL error: total cell count of XXX exceeded  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 2023-Sep-13, Hongxu Ma wrote:

> After double check, looks `int64` of src/include/c.h is the proper type for it.
> Uploaded the v4 patch to fix it.

Right.  I made a few more adjustments, including the additional overflow
check in printTableInit that Tom Lane suggested, and pushed this.

It's a bit annoying that the error recovery decision of this code is to
exit the process with an error.  If somebody were to be interested in a
fun improvement exercise, it may be worth redoing the print.c API so
that it returns errors that psql can report and recover from, instead of
just closing the process.

TBH though, I've never hit that code in real usage.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: CREATE FUNCTION ... SEARCH { DEFAULT | SYSTEM | SESSION }
Следующее
От: Fabrízio de Royes Mello
Дата:
Сообщение: pg_class.relpages not updated for toast index