Re: Selecting a constant question

Поиск
Список
Период
Сортировка
От Dann Corbit
Тема Re: Selecting a constant question
Дата
Msg-id D425483C2C5C9F49B5B7A41F894415470100071A@postal.corporate.connx.com
обсуждение исходный текст
Ответ на Re: Selecting a constant question  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
> -----Original Message-----
> From: Alvaro Herrera [mailto:alvherre@commandprompt.com]
> Sent: Monday, June 11, 2007 3:44 PM
> To: Dann Corbit
> Cc: Tom Lane; Gregory Stark; Martijn van Oosterhout; pgsql-
> hackers@postgresql.org; Larry McGhaw
> Subject: Re: [HACKERS] Selecting a constant question
>
> Dann Corbit wrote:
>
> > If the server bound the data as UNICODE, then it will tell me
> > UNICODE(3).  I know how big this will be.
> >
> > In the worst case scenario it will fit in 3*4 = 12 bytes.
> >
> > If the server is built without UNICODE enabled, then it will
definitely
> > fit in 3 bytes.
>
> Unless it's some other multibyte encoding.  And nowadays, the server
is
> always "unicode enabled".  The stuff sent down the wire is unicode or
> not depending on a configuration parameter.

Even at that, we still know an absolute maximum of 12 bytes.


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

Предыдущее
От: "Dann Corbit"
Дата:
Сообщение: Re: Got no response last time on setsockopt post, so I thought I would reiterate.
Следующее
От: "Dann Corbit"
Дата:
Сообщение: Re: Selecting a constant question