Re: Bytea as C string in pg_convert?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bytea as C string in pg_convert?
Дата
Msg-id 13668.1190644339@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Bytea as C string in pg_convert?  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: Bytea as C string in pg_convert?
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> We can and possibly should change the GETARG call, but the varlena types 
> are structurally equivalent, so it's not a mortal sin being committed here.

We *definitely* should change it --- the reason for having all those
variant macros in the first place was to help document the argument
types of V1 functions.  It's too bad the compiler doesn't warn about
the type mismatch here ...
        regards, tom lane


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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: [PATCHES] Eliminate more detoast copies for packed varlenas
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Bytea as C string in pg_convert?