Re: Making TEXT NUL-transparent

Поиск
Список
Период
Сортировка
От Alexander Shulgin
Тема Re: Making TEXT NUL-transparent
Дата
Msg-id 1322134279-sup-5004@moon
обсуждение исходный текст
Ответ на Re: Making TEXT NUL-transparent  (Florian Weimer <fweimer@bfk.de>)
Ответы Re: Making TEXT NUL-transparent  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
Excerpts from Florian Weimer's message of Thu Nov 24 12:59:09 +0200 2011:
>
> > I have a different question. What is reason for embedded NULs inside
> > strings?
>
> The source system does not enforce that constraint, so from time to
> time, such data slips through.  I don't know why it's there in the first
> place, and I have no control over the original data source.  Usually,
> it's okay to silently strip NUL bytes; it's just a bit awkward.

Strip?  Like this: "loss\0less" => "lossless"?  That would be awkward for sure.


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

Предыдущее
От: Lars Kanis
Дата:
Сообщение: Re: [PATCH] PostgreSQL fails to build with 32bit MinGW-w64
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Making TEXT NUL-transparent