diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2020-07-31 17:11:28 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2020-07-31 17:11:28 -0400 |
commit | 3d2376d55c6f2d364a6a1a95cc350c531f6d9423 (patch) | |
tree | 11fee97f3ce5a4d0ed613b7eed7fdb0e1e9e82e4 /src/backend/access/gist/gistvalidate.c | |
parent | 78e73e87548a1e0b71b6f2425f76ea6e9c85b2eb (diff) | |
download | postgresql-3d2376d55c6f2d364a6a1a95cc350c531f6d9423.tar.gz postgresql-3d2376d55c6f2d364a6a1a95cc350c531f6d9423.zip |
Fix oversight in ALTER TYPE: typmodin/typmodout must propagate to arrays.
If a base type supports typmods, its array type does too, with the
same interpretation. Hence changes in pg_type.typmodin/typmodout
must be propagated to the array type.
While here, improve AlterTypeRecurse to not recurse to domains if
there is nothing we'd need to change.
Oversight in fe30e7ebf. Back-patch to v13 where that came in.
Diffstat (limited to 'src/backend/access/gist/gistvalidate.c')
0 files changed, 0 insertions, 0 deletions