Re: Custom type's modifiers

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Custom type's modifiers
Дата
Msg-id CAKFQuwZnhZPQgbL687qeT5sC3kjWJ4r9QQwqB1nU5xtLbOj=HQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Custom type's modifiers  (Marthin Laubscher <postgres@lobeshare.co.za>)
Ответы Re: Custom type's modifiers  (Marthin Laubscher <postgres@lobeshare.co.za>)
Список pgsql-hackers
On Thu, Jun 27, 2024 at 8:49 AM Marthin Laubscher <postgres@lobeshare.co.za> wrote:

I suppose when a cast is involved it goes via the external format as well, right?

A cast between two types is going to accept a concrete instance of the input type, in memory, as its argument and then produces a concrete instance of the output type, in memory, as output.  If the input data is serialized the constructor for the input type will handle deserialization.

See: create cast


In particular the phrasing: identical to or binary-coercible to

David J.
 

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

Предыдущее
От: Marthin Laubscher
Дата:
Сообщение: Re: Custom type's modifiers
Следующее
От: Tom Lane
Дата:
Сообщение: Re: JIT causes core dump during error recovery