Re: \xDD patch for 7.5devel

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: \xDD patch for 7.5devel
Дата
Msg-id 2137.1068045923@sss.pgh.pa.us
обсуждение исходный текст
Ответ на \xDD patch for 7.5devel  (Jason Godden <jasongodden@optushome.com.au>)
Ответы Re: \xDD patch for 7.5devel
Список pgsql-hackers
Jason Godden <jasongodden@optushome.com.au> writes:
> This is my first patch for PostgreSQL against the 7.5devel cvs (please
> advise if this is the wrong place to post patches).

pgsql-patches in future, please.

> +#define HEXVALUE(c) (((c)>='a') ? ((c)-87) : (((c)>='A') ? ((c)-55) : ((c)-'0')))

This seems excessively dependent on the assumption that the character
set is ASCII.  Why have you hard-coded numeric equivalents into this
macro?

BTW, the patch is incomplete because it is lacking documentation.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: weird regression test issue CVS HEAD
Следующее
От: "Zeugswetter Andreas SB SD"
Дата:
Сообщение: Re: Experimental patch for inter-page delay in VACUUM