aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/numeric.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2012-02-07 21:40:36 -0500
committerRobert Haas <rhaas@postgresql.org>2012-02-07 21:40:49 -0500
commitaf7dd696b00fe666fec3642e103acafe33002765 (patch)
treeea4d82a5bc2cf8f00e85edf24774d4519eefc8be /src/backend/utils/adt/numeric.c
parenta870c7fdbca71e2c651fd80b3dec902c49040c7a (diff)
downloadpostgresql-af7dd696b00fe666fec3642e103acafe33002765.tar.gz
postgresql-af7dd696b00fe666fec3642e103acafe33002765.zip
Fix typos pointed out by Noah Misch.
Diffstat (limited to 'src/backend/utils/adt/numeric.c')
-rw-r--r--src/backend/utils/adt/numeric.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/adt/numeric.c b/src/backend/utils/adt/numeric.c
index 6885349de58..cee6cab954c 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))