1010 *
1111 *
1212 * IDENTIFICATION
13- * $PostgreSQL: pgsql/src/backend/commands/functioncmds.c,v 1.94 2008/07/11 07:02:43 petere Exp $
13+ * $PostgreSQL: pgsql/src/backend/commands/functioncmds.c,v 1.95 2008/07/12 10:44:56 petere Exp $
1414 *
1515 * DESCRIPTION
1616 * These routines take the parse tree and pick out the
@@ -1407,7 +1407,7 @@ CreateCast(CreateCastStmt *stmt)
14071407if (!IsBinaryCoercible (sourcetypeid ,procstruct -> proargtypes .values [0 ]))
14081408ereport (ERROR ,
14091409(errcode (ERRCODE_INVALID_OBJECT_DEFINITION ),
1410- errmsg ("argument of cast function must match or be binary-compatible with source data type" )));
1410+ errmsg ("argument of cast function must match or be binary-coercible from source data type" )));
14111411if (nargs > 1 && procstruct -> proargtypes .values [1 ]!= INT4OID )
14121412ereport (ERROR ,
14131413(errcode (ERRCODE_INVALID_OBJECT_DEFINITION ),
@@ -1419,7 +1419,7 @@ CreateCast(CreateCastStmt *stmt)
14191419if (!IsBinaryCoercible (procstruct -> prorettype ,targettypeid ))
14201420ereport (ERROR ,
14211421(errcode (ERRCODE_INVALID_OBJECT_DEFINITION ),
1422- errmsg ("return data type of cast function must match or be binary-compatible with target data type" )));
1422+ errmsg ("return data type of cast function must match or be binary-coercible to target data type" )));
14231423
14241424/*
14251425 * Restricting the volatility of a cast function may or may not be a