Re: Text format protocol representation

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Text format protocol representation
Дата
Msg-id 877k8joz88.fsf@stark.dyndns.tv
обсуждение исходный текст
Ответ на Re: Text format protocol representation  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Text format protocol representation  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:

> Greg Stark <gsstark@mit.edu> writes:
> > nuls in strings aren't allowed, eh? Is there any possibility that nuls in
> > strings will be supported at some time in the future?
> 
> Not much.  Use bytea if you want to store binary data.

Oh, I don't. I was just mentioning that if you append a nul in the protocol
and allow applications to use that instead of the length provided then you've
pretty much committed to never allowing nuls in text/varchars.

[Incidentally, nul is not the same concept as NULL, don't mix the two]

-- 
greg



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

Предыдущее
От: Olleg Samojlov
Дата:
Сообщение: Re: Scheduled jobs
Следующее
От: Jean-Michel POURE
Дата:
Сообщение: Tetra-bytes database / large indexes needs