Re: New warning in pg_dump

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: New warning in pg_dump
Дата
Msg-id 27487.1093318068@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: New warning in pg_dump  (Philip Warner <pjw@rhyme.com.au>)
Ответы Re: New warning in pg_dump  (Philip Warner <pjw@rhyme.com.au>)
Список pgsql-hackers
Philip Warner <pjw@rhyme.com.au> writes:
> At 01:58 AM 24/08/2004, Alvaro Herrera wrote:
>> static int _isIdentChar(unsigned char c)

> I think the correct thing to do is to leave it as (signed) char, and remove 
> the comparison to \200 = -127.

No, that isn't the right thing, because not all platforms think char is
signed.  I prefer declaring it as unsigned, which means you drop the
\377 end instead ...
        regards, tom lane


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

Предыдущее
От: Philip Warner
Дата:
Сообщение: Re: New warning in pg_dump
Следующее
От: Philip Warner
Дата:
Сообщение: Re: New warning in pg_dump