Re: OCTET_LENGTH is wrong

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: OCTET_LENGTH is wrong
Дата
Msg-id 3BFA6023.C0446E37@fourpalms.org
обсуждение исходный текст
Ответ на Re: OCTET_LENGTH is wrong  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: OCTET_LENGTH is wrong  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: OCTET_LENGTH is wrong  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
> > There have been three ideas of what octet_length() sould return:
> >       1) compressed on-disk storage length
> >       2) byte length in server-side encoding
> >       3) byte length in client-side encoding
...
> > The open question is whether we should be doing #3.

There is no question in my mind that (3) must be the result of
octet_length(). Any of the other options may give an interesting result,
but of no practical use to a client trying to retrieve data. And
everything is a client!
                      - Thomas


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

Предыдущее
От: Martín Marqués
Дата:
Сообщение: Re: beta3
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: OCTET_LENGTH is wrong