Re: OCTET_LENGTH is wrong

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB SD
Тема Re: OCTET_LENGTH is wrong
Дата
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA421280E@m0114.s-mxs.net
обсуждение исходный текст
Ответ на OCTET_LENGTH is wrong  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
> What's bothering me right now is the
> difference between client and server encodings.  It seems that the
only
> plausible use for octet_length is to do memory allocation on the
client
> side, and for that purpose the length ought to be measured in the
client
> encoding.  People seem to be happy with letting octet_length take the
> easy way out (measure in the server encoding), and I'm trying to get
> someone to explain to me why that's the right behavior.  I 
> don't see it.

I agree. octet_length should be the number of bytes the client gets when
he 
does "select textfield from atable".

Andreas


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

Предыдущее
От: Kevin Jacobs
Дата:
Сообщение: Re: Possible major bug in PlPython (plus some other ideas)
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: OCTET_LENGTH is wrong