Re: OO / fe-be protocol
От | Kardos, Dr. Andreas |
---|---|
Тема | Re: OO / fe-be protocol |
Дата | |
Msg-id | 00e401bfc3d2$b3462390$99301eac@Dr.repas.de обсуждение исходный текст |
Ответ на | OO / fe-be protocol (Chris Bitmead <chrisb@nimrod.itg.telstra.com.au>) |
Список | pgsql-hackers |
As an alternative you might consider XDR (RFC 1832, RFC 1014). http://landfield.com/rfcs/rfc1832.html http://landfield.com/rfcs/rfc1014.html We are using this since many years. It is quite effective. XDR is available on a lot of platforms (on QNX too). In short: The data structures/unions to be transfered between different platforms must be defined in a normal C header. This header has to be proceeded by the tool rpcgen. This rpcgen tool generates encoding/decoding functions for these structures. These functions can than be called in the code before send and after receive to encode/decode message buffers. No things like ORBs etc. are required. Regards, Andreas Kardos -----Ursprüngliche Nachricht----- Von: Tom Lane <tgl@sss.pgh.pa.us> An: Chris Bitmead <chrisb@nimrod.itg.telstra.com.au> Cc: <pgsql-hackers@postgreSQL.org> Gesendet: Freitag, 19. Mai 2000 22:50 Betreff: Re: [HACKERS] OO / fe-be protocol > (Or we could do neither, instead inventing a brand-new protocol that's > still Postgres-only, but that seems like it has no particular > attraction... there's a lot of work invested in the current frontends > and if we're going to throw it away we probably ought to adopt a > standards-based protocol. IMHO anyway.) > > regards, tom lane >
В списке pgsql-hackers по дате отправления: