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 | 5c439f189bf4bdbb0ff75b2043ca713d76019528 (patch) | |
tree | e14d8666f3dc92c7984e998c28ef0b65a0cfe84c /src/backend/executor/nodeSort.c | |
parent | 11dce63d6c3f676a9f1829eca96f085b6d935af0 (diff) | |
download | postgresql-5c439f189bf4bdbb0ff75b2043ca713d76019528.tar.gz postgresql-5c439f189bf4bdbb0ff75b2043ca713d76019528.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/executor/nodeSort.c')
0 files changed, 0 insertions, 0 deletions