Re: [HACKERS] problems with sunos4 port, endian?

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: [HACKERS] problems with sunos4 port, endian?
Дата
Msg-id bdf4da350c2264ef6ff8e51ef260060a
обсуждение исходный текст
Ответ на [HACKERS] problems with sunos4 port, endian?  (Chris McGonagle <pglist@FOUR.net>)
Список pgsql-hackers
>I would love to here some enlightened opinions on this.
>
>It was my belief that we didn't change the communication in 6.1, and
>that all communication between different systems was working properly.

My experience shows 6.1 cannot communicate if endian is
different. Please let me know if I misunderstand anything.

INTEL: Intel Linux-ELF system(little endian)
SUN: Sun Sparc/SunOS 4.1.4(big endian)
PPC: MkLinux-PPC (big endian)

INTEL:~$ psql -h SUN template1
Welcome to the POSTGRESQL interactive sql monitor:
  Please read the file COPYRIGHT for copyright terms of POSTGRESQL

   type \? for help on slash commands
   type \q to quit
   type \g or terminate with semicolon to execute query
 You are currently connected to the database: template1

template1=> select * from pg_user;
<--- psql stucks here

I tried other combinations.

client(psql)    server        result
- --------------------------------------
INTEL        PPC        NG
INTEL        SUN        NG
PPC        INTEL        NG
PPC        SUN        OK
SUN        PPC        OK

Note that INTEL can talk to 6.0 servers while SUN and PPC can't.
- ---
Tatsuo Ishii
t-ishii@sra.co.jp

------------------------------

End of hackers-digest V1 #391
*****************************

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