| From: | Peter Geoghegan <pg(at)heroku(dot)com> |
|---|---|
| To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
| Cc: | Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: More work on SortSupport for text - strcoll() and strxfrm() caching |
| Date: | 2015-10-10 19:32:35 |
| Message-ID: | CAM3SWZRPRFqq7uXj0yHUD6FOrZZ+A28PS6qNLZX+6UvAnGtvxQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Fri, Oct 9, 2015 at 5:54 PM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> I think that is true. I spent some time thinking about whether the
> way you used INT_MIN as a sentinel value should be changed around
> somehow, but ultimately I decided that it wasn't too bad and that
> suggesting something else would be pointless kibitzing. I also tried
> to think of scenarios in which this would lose, and I'm not totally
> convinced that there aren't any, but I'm convinced that, if they
> exist, I don't know what they are. Since the patch did deliver a
> small improvement on my test cases and on yours, I think we might as
> well have it in the tree. If some pathological scenario shows up
> where it turns out to hurt, we can always fix it then, or revert if it
> need be.
That seems very reasonable.
I noticed that there is still one comment that I really should have
removed as part of this work. The comment didn't actually add any new
information for 9.5, but is now obsolete. Attached patch removes it
entirely.
--
Peter Geoghegan
| Attachment | Content-Type | Size |
|---|---|---|
| remove_text_comment.patch | text/x-patch | 567 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2015-10-10 23:47:59 | Re: Re: In-core regression tests for replication, cascading, archiving, PITR, etc. |
| Previous Message | Pavel Stehule | 2015-10-10 17:18:27 | Re: Postgres service stops when I kill client backend on Windows |