Re: Selecting a constant question

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Selecting a constant question
Дата
Msg-id 20070611224337.GE24760@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Selecting a constant question  ("Dann Corbit" <DCorbit@connx.com>)
Ответы Re: Selecting a constant question  ("Dann Corbit" <DCorbit@connx.com>)
Re: Selecting a constant question  ("Larry McGhaw" <lmcghaw@connx.com>)
Список pgsql-hackers
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.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

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