Re: Strange behaviour with incompatible psql/server

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Strange behaviour with incompatible psql/server
Дата
Msg-id 50B5D22E.5070306@vmware.com
обсуждение исходный текст
Ответ на Strange behaviour with incompatible psql/server  (Pavan Deolasee <pavan.deolasee@gmail.com>)
Ответы Re: Strange behaviour with incompatible psql/server  (Pavan Deolasee <pavan.deolasee@gmail.com>)
Список pgsql-hackers
On 28.11.2012 10:46, Pavan Deolasee wrote:
> While I'm almost certain that this has something to do with special
> characters that my naked eyes can not see, all my attempts to spot the
> difference has failed. So I really have two questions:
>
> 1. What's the difference between these files ?

Compare "hexdump -C bad.sql" and "hexdump -C good.sql". There's a UTF-8 
Byte-Order-Mark at the beginning of bad.sql, see 
https://en.wikipedia.org/wiki/Byte_Order_Mark#UTF-8

> 2. Why 9.0 psql works fine with that difference, but 8.4 psql does not ?

Dunno, I'll let you investigate that ;-)

- Heikki



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

Предыдущее
От: Pavan Deolasee
Дата:
Сообщение: Strange behaviour with incompatible psql/server
Следующее
От: Pavan Deolasee
Дата:
Сообщение: Re: Strange behaviour with incompatible psql/server