Inconsistent cast to "char"

Поиск
Список
Период
Сортировка
От Ian R. Campbell
Тема Inconsistent cast to "char"
Дата
Msg-id CAOC8YUcXymCMpC5d=7JvcwyjXPTT00WeebOM3UqTBreOD1N9hw@mail.gmail.com
обсуждение исходный текст
Ответы Re: Inconsistent cast to "char"  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
I noticed that the following does not produce consistent cast results:

select 1::int8::"char", 1::int4::"char", 1::int2::"char"

The following yields 49, 1, 49 respectively:

select 1::int8::"char"::int, 1::int4::"char"::int, 1::int2::"char"::int

regards,
Ian Campbell

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

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #17307: Performance deviation between the multiple iterations (NOPM & TPM values).
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #17309: Memory consumption