We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a870c7f commit af7dd69Copy full SHA for af7dd69
src/backend/utils/adt/numeric.c
@@ -748,9 +748,9 @@ numeric_transform(PG_FUNCTION_ARGS)
748
749
/*
750
* If new_typmod < VARHDRSZ, the destination is unconstrained; that's
751
- * always OK. If old_typmod >= VARHDRSZ, the source is constained.
+ * always OK. If old_typmod >= VARHDRSZ, the source is constrained.
752
* and we're OK if the scale is unchanged and the precison is not
753
- * decreasing. See further nodes in function header comment.
+ * decreasing. See further notes in function header comment.
754
*/
755
if (new_typmod < VARHDRSZ || (old_typmod >= VARHDRSZ &&
756
new_scale == old_scale && new_precision >= old_precision))
0 commit comments