From: Robert Haas Date: Wed, 8 Feb 2012 02:40:36 +0000 (-0500) Subject: Fix typos pointed out by Noah Misch. X-Git-Tag: REL9_2_BETA1~453 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=af7dd696b00fe666fec3642e103acafe33002765;p=postgresql Fix typos pointed out by Noah Misch. --- diff --git a/src/backend/utils/adt/numeric.c b/src/backend/utils/adt/numeric.c index 6885349de5..cee6cab954 100644 --- a/src/backend/utils/adt/numeric.c +++ b/src/backend/utils/adt/numeric.c @@ -748,9 +748,9 @@ numeric_transform(PG_FUNCTION_ARGS) /* * If new_typmod < VARHDRSZ, the destination is unconstrained; that's - * always OK. If old_typmod >= VARHDRSZ, the source is constained. + * always OK. If old_typmod >= VARHDRSZ, the source is constrained. * and we're OK if the scale is unchanged and the precison is not - * decreasing. See further nodes in function header comment. + * decreasing. See further notes in function header comment. */ if (new_typmod < VARHDRSZ || (old_typmod >= VARHDRSZ && new_scale == old_scale && new_precision >= old_precision))