Skip to content

Commit af7dd69

Browse files
committed
Fix typos pointed out by Noah Misch.
1 parent a870c7f commit af7dd69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/utils/adt/numeric.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -748,9 +748,9 @@ numeric_transform(PG_FUNCTION_ARGS)
748748

749749
/*
750750
* If new_typmod < VARHDRSZ, the destination is unconstrained; that's
751-
* always OK. If old_typmod >= VARHDRSZ, the source is constained.
751+
* always OK. If old_typmod >= VARHDRSZ, the source is constrained.
752752
* and we're OK if the scale is unchanged and the precison is not
753-
* decreasing. See further nodes in function header comment.
753+
* decreasing. See further notes in function header comment.
754754
*/
755755
if (new_typmod < VARHDRSZ || (old_typmod >= VARHDRSZ &&
756756
new_scale == old_scale && new_precision >= old_precision))

0 commit comments

Comments
 (0)