git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 78e73e8) | patch
Fix oversight in ALTER TYPE: typmodin/typmodout must propagate to arrays.
2020年7月31日 21:11:28 +0000 (17:11 -0400)
2020年7月31日 21:11:28 +0000 (17:11 -0400)
commit 3d2376d55c6f2d364a6a1a95cc350c531f6d9423
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.
src/backend/commands/typecmds.c diff | blob | blame | history
src/test/regress/expected/create_type.out diff | blob | blame | history
src/test/regress/sql/create_type.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /