aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/functioncmds.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2008-07-12 10:44:56 +0000
committerPeter Eisentraut <peter_e@gmx.net>2008-07-12 10:44:56 +0000
commit96193aa80372d606f6c52e4d8cb93fca4993033a (patch)
treeadec4a109e830aa38125bab3d6b4a0a1dee5c4f9 /src/backend/commands/functioncmds.c
parentc96439b5a0510f12e302a5b40a1b2d26dc52e140 (diff)
downloadpostgresql-96193aa80372d606f6c52e4d8cb93fca4993033a.tar.gz
postgresql-96193aa80372d606f6c52e4d8cb93fca4993033a.zip
More replacements of binary compatible to binary coercible.
Diffstat (limited to 'src/backend/commands/functioncmds.c')
-rw-r--r--src/backend/commands/functioncmds.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/commands/functioncmds.c b/src/backend/commands/functioncmds.c
index abb2e6eca88..9831692eea0 100644
--- a/src/backend/commands/functioncmds.c
+++ b/src/backend/commands/functioncmds.c
@@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/commands/functioncmds.c,v 1.94 2008/07/11 07:02:43 petere Exp $
+ * $PostgreSQL: pgsql/src/backend/commands/functioncmds.c,v 1.95 2008/07/12 10:44:56 petere Exp $
*
* DESCRIPTION
* These routines take the parse tree and pick out the
@@ -1407,7 +1407,7 @@ CreateCast(CreateCastStmt *stmt)
if (!IsBinaryCoercible(sourcetypeid, procstruct->proargtypes.values[0]))
ereport(ERROR,
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
- errmsg("argument of cast function must match or be binary-compatible with source data type")));
+ errmsg("argument of cast function must match or be binary-coercible from source data type")));
if (nargs > 1 && procstruct->proargtypes.values[1] != INT4OID)
ereport(ERROR,
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
@@ -1419,7 +1419,7 @@ CreateCast(CreateCastStmt *stmt)
if (!IsBinaryCoercible(procstruct->prorettype, targettypeid))
ereport(ERROR,
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
- errmsg("return data type of cast function must match or be binary-compatible with target data type")));
+ errmsg("return data type of cast function must match or be binary-coercible to target data type")));
/*
* Restricting the volatility of a cast function may or may not be a