-
- Downloads
Add a transform function for numeric typmod coercisions.
This enables ALTER TABLE to skip table and index rebuilds when a column is changed to an unconstrained numeric, or when the scale is unchanged and the precision does not decrease. Noah Misch, with a few stylistic changes and a fix for an OID collision by me.
Showing
- src/backend/utils/adt/numeric.c 48 additions, 0 deletionssrc/backend/utils/adt/numeric.c
- src/include/catalog/catversion.h 1 addition, 1 deletionsrc/include/catalog/catversion.h
- src/include/catalog/pg_proc.h 3 additions, 1 deletionsrc/include/catalog/pg_proc.h
- src/include/utils/builtins.h 1 addition, 0 deletionssrc/include/utils/builtins.h
Loading
Please register or sign in to comment