| От | Joe Conway |
|---|---|
| Тема | Re: Bytea string operator support |
| Дата | |
| Msg-id | 012701c136fe$ece22040$0705a8c0@jecw2k1 обсуждение исходный текст |
| Ответ на | Re: Bytea string operator support (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Список | pgsql-patches |
> > > Here's a patch for bytea string functions. As discussed: > > > > > > text encode(bytea, 'escape') > > > bytea decode(text, 'escape') > > > > Why are you using \xxx encoding there? As the 'escape' encoding > > is supposed to be 'minimalistic' as it escapes only 2 > > problematic values, then IMHO it would be better to use > > \0 and \\ as escapes - takes less room. > > Agreed, and I have documented this in the SGML pages. Knowing this, > bytea becomes a much easier format to use. No problem -- I kind of like the octal style better, but I can see your point. I'll wait for awhile for more comments, and then send in a new patch. -- Joe
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера