Re: Re: BUG #15503: Bytea type column select failed when the length of the value is more than 512M

Поиск
Список
Период
Сортировка
От lichuancheng@highgo.com
Тема Re: Re: BUG #15503: Bytea type column select failed when the length of the value is more than 512M
Дата
Msg-id 201811141604590662237@highgo.com
обсуждение исходный текст
Список pgsql-bugs
>Nope.  palloc() is able to allocate up to 1GB.

The size of bytea is 512M,but in byteaout() function, it expend to more than 1G.
######
rp = result = palloc(VARSIZE_ANY_EXHDR(vlena) * 2 + 2 + 1);
######

--
lchch
 
Date: 2018-11-14 15:57
Subject: Re: BUG #15503: Bytea type column select failed when the length of the value is more than 512M
On Wed, Nov 14, 2018 at 06:23:21AM +0000, PG Bug reporting form wrote:
> is it a bug?
 
Nope.  palloc() is able to allocate up to 1GB.
--
Michael

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #15503: Bytea type column select failed when the length ofthe value is more than 512M
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15504: pgadmin 4