Re: Collation versioning

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Cc: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, Douglas Doole <dougdoole(at)gmail(dot)com>, Christoph Berg <myon(at)debian(dot)org>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Collation versioning
Date: 2020-02-12 19:13:26
Message-ID: 20200212191326.GA72685@nol
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Feb 05, 2020 at 05:17:25PM +0100, Julien Rouhaud wrote:
>
> Note that I didn't change any syntax (or switched to native functions
> for the binary pg_dump) as it's still not clear to me what exactly
> should be implemented.

Hearing no complaints on the suggestions, I'm attaching v8 to address that:

- pg_dump is now using a binary_upgrade_set_index_coll_version() function
rather than plain DDL
- the additional DDL is now of the form:
ALTER INDEX name ALTER COLLATION name REFRESH VERSION

I also added an alternate file for the collate.icu.utf8, so the build farm bot
should turn green for the linux part.

Attachment Content-Type Size
0001-Remove-pg_collation.collversion-v8.patch text/plain 23.4 KB
0002-Add-pg_depend.refobjversion-v8.patch text/plain 11.6 KB
0003-Implement-type-regcollation-v8.patch text/plain 8.9 KB
0004-Track-collation-versions-for-indexes-v8.patch text/plain 57.7 KB
0005-Preserve-index-dependencies-on-collation-during-pg_u-v8.patch text/plain 42.3 KB
0006-Add-a-new-ALTER-INDEX-name-ALTER-COLLATION-name-REFR-v8.patch text/plain 16.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2020-02-12 19:18:30 Re: In PG12, query with float calculations is slower than PG11
Previous Message Andres Freund 2020-02-12 18:37:42 Re: In PG12, query with float calculations is slower than PG11