Re: [BUGS] COPY FROM is not 8bit clean

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] COPY FROM is not 8bit clean
Дата
Msg-id 17211.1014766407@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [BUGS] COPY FROM is not 8bit clean  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: [BUGS] COPY FROM is not 8bit clean  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Can someone explain why this fixes the problem.

Think about a machine where char is signed by default.  Extracting \254
into an int will produce -2, which will not equal \254 returned by getc.
        regards, tom lane


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

Предыдущее
От: "Dann Corbit"
Дата:
Сообщение: Re: eWeek Poll: Which database is most critical to your
Следующее
От: Neil Conway
Дата:
Сообщение: Re: eWeek Poll: Which database is most critical to your