Re: WIP Patch: Add a function that returns binary JSONB as a bytea

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: WIP Patch: Add a function that returns binary JSONB as a bytea
Дата
Msg-id 20181031152249.q2nk6r3f6bxcvph7@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: WIP Patch: Add a function that returns binary JSONB as a bytea  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
Ответы Re: WIP Patch: Add a function that returns binary JSONB as a bytea
Список pgsql-hackers
Hi,

On 2018-10-31 11:13:13 -0400, Andrew Dunstan wrote:
> I agree that just sending a blob of the internal format isn't a great idea.

It's entirely unacceptable afaict. Besides the whole "exposing
internals" issue, it's also at least not endianess safe, depends on the
local alignment requirements (which differ both between platforms and
32/64 bit), numeric's internal encoding and probably more.

Greetings,

Andres Freund


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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: WIP Patch: Add a function that returns binary JSONB as a bytea
Следующее
От: John Naylor
Дата:
Сообщение: Re: PostgreSQL Limits and lack of documentation about them.