Re: Re: Generalizing SortSupport for text to work with char(n), bytea, and alternative opclasses
В списке pgsql-hackers по дате отправления:
| От | Alvaro Herrera |
|---|---|
| Тема | Re: Re: Generalizing SortSupport for text to work with char(n), bytea, and alternative opclasses |
| Дата | |
| Msg-id | 20160107153051.GA424921@alvherre.pgsql обсуждение исходный текст |
| Ответ на | Re: Generalizing SortSupport for text to work with char(n), bytea, and alternative opclasses (Peter Geoghegan <pg@heroku.com>) |
| Список | pgsql-hackers |
Peter Geoghegan wrote: > On Thu, Nov 12, 2015 at 4:38 PM, Peter Geoghegan <pg@heroku.com> wrote: > > * bytea default opclass. This is a type that, like the others, shares > > its representation with text (a varlena header and some data bytes -- > > a string, essentially). Its comparator already behaves identically to > > that of the text comparator when the "C" collation is used. I've > > actually seen a specific request for this [1]. > > I probably should have given an explanation for why it's okay that NUL > bytes can exist in strings from the point of view of the generalized > SortSupport for text worker function. The next revision will have > comments along those lines. Did you ever post "the next revision"? -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера