Re: libpq and Binary Data Formats
От | Tom Lane |
---|---|
Тема | Re: libpq and Binary Data Formats |
Дата | |
Msg-id | 17583.1181057437@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: libpq and Binary Data Formats (Richard Huxton <dev@archonet.com>) |
Список | pgsql-hackers |
Richard Huxton <dev@archonet.com> writes: > Wilhansen Li wrote: >> Basically, better support for binary formats which includes, but not >> limited >> to: >> 1) functions for converting to and from various datatypes >> 2) reducing the need to convert to and from network byte order >> 3) better documentation > Well, it sounds to me like this is two separate items: (1+2), (3). I could see adding more support in libpq for converting native int and float types to and from the existing on-the-wire binary formats, rather than making applications do it for themselves as is the case now. But I think you've got 0 chance of persuading anyone that we should try to support platform-dependent on-the-wire formats --- the potential performance advantages are minimal and the added complexity large. IOW, 1, 3 yes, 2 no. regards, tom lane
В списке pgsql-hackers по дате отправления: