From: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
---|---|
To: | Peter Geoghegan <pg(at)heroku(dot)com> |
Cc: | Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Re: Generalizing SortSupport for text to work with char(n), bytea, and alternative opclasses |
Date: | 2016-01-07 15:30:51 |
Message-ID: | 20160107153051.GA424921@alvherre.pgsql |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Peter Geoghegan wrote:
> On Thu, Nov 12, 2015 at 4:38 PM, Peter Geoghegan <pg(at)heroku(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2016-01-07 15:41:51 | Re: Generalizing SortSupport for text to work with char(n), bytea, and alternative opclasses |
Previous Message | Andres Freund | 2016-01-07 15:27:46 | Re: Proposal: Generic WAL logical messages |