Re: pgsql: Track collation versions for indexes.

2021-01-11 Thread Thomas Munro
On Tue, Jan 12, 2021 at 10:37 AM Alvaro Herrera wrote: > This was a strange change ... Is this just an inadvertent slip-up? > -extern long changeDependenciesOf(Oid classId, Oid oldObjectId, > +long changeDependenciesOf(Oid classId, Oid oldObjectId, Huh, definitely not done on purpose. Will fix.

Re: pgsql: Track collation versions for indexes.

2021-01-11 Thread Alvaro Herrera
On 2020-Nov-02, Thomas Munro wrote: > Track collation versions for indexes. > src/include/catalog/dependency.h | 25 ++- This was a strange change ... Is this just an inadvertent slip-up? diff --git a/src/include/catalog/dependency.h b/src/include/catalog/dependency.h index 3baa5e

pgsql: Track collation versions for indexes.

2020-11-02 Thread Thomas Munro
Track collation versions for indexes. Record the current version of dependent collations in pg_depend when creating or rebuilding an index. When accessing the index later, warn that the index may be corrupted if the current version doesn't match. Thanks to Douglas Doole, Peter Eisentraut, Christ