Re: ERROR: "ft1" is of the wrong type.

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: peter.eisentraut@enterprisedb.com, ahsan.hadi@gmail.com, pgsql-hackers@lists.postgresql.org
Date: 2021-07-09T02:03:56Z
Lists: pgsql-hackers
On Fri, Jul 09, 2021 at 10:44:13AM +0900, Kyotaro Horiguchi wrote:
> Sounds reasonable. So the attached are that for PG11-PG14.  11 and 12
> shares the same patch.

How much do the regression tests published upthread in
https://postgr.es/m/20210219.173039.609314751334535042.horikyota.ntt@gmail.com
apply here?  Shouldn't we also have some regression tests for the new
error cases you are adding?  I agree that we'd better avoid removing
those entries, one argument in favor of not removing any entries being
that this could have an impact on forks.
--
Michael

Commits

  1. Fix unexpected error messages for various flavors of ALTER TABLE

  2. Revert per-index collation version tracking feature.

  3. Restructure ALTER TABLE execution to fix assorted bugs.