Re: Collation version tracking for macOS

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Peter Geoghegan <pg(at)bowt(dot)ie>
Cc: "Finnerty, Jim" <jfinnert(at)amazon(dot)com>, "Nasby, Jim" <nasbyj(at)amazon(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Jeremy Schneider <schneider(at)ardentperf(dot)com>, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Collation version tracking for macOS
Date: 2022-06-10 01:22:32
Message-ID: CA+hUKGKGdQeA6dw7RNzkOSQV5Dj=d+XKxaDSWfh47zK2SRP_6Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jun 10, 2022 at 1:06 PM Peter Geoghegan <pg(at)bowt(dot)ie> wrote:
> On Thu, Jun 9, 2022 at 5:59 PM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
> > That sounds nice, but introduces subtle problems for the planner. For
> > example, pathkeys that look compatible might not be, when
> > merge-joining an ICU 63 index scan against an ICU 67 index scan. You
> > could teach it about that, whereas with my distinct OID concept they
> > would already be considered non-matching automatically.
>
> Right -- my proposal is likely to be more difficult to implement.
> Seems like it might be worth going to the trouble of teaching the
> planner about this difference, though.

Well I can report that the system from ec483147 was hellishly
complicated, and not universally loved. Which isn't to say that there
isn't a simple and loveable way to do it, waiting to be discovered,
and I do think we could fix most of the problems with that work. It's
just that I was rather thinking of this new line of attack as being a
way to avoid the complications of identifying dependencies on moving
things through complicated analysis of object graphs and AST, by
instead attaching those slippery external things to the floor with a
nail gun. That is, treating ICU 63 and ICU 67's collations as
completely unrelated. I understand that that's not ideal from an
end-user perspective, but maybe it's more realistically and robustly
and simply implementable. Hmm.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tobias Bussmann 2022-06-10 01:45:19 Re: Collation version tracking for macOS
Previous Message Peter Geoghegan 2022-06-10 01:05:44 Re: Collation version tracking for macOS