Eliminate a gratuitously different wording of the 'cannot use aggregate function...
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 21 Jun 2006 18:09:53 +0000 (18:09 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 21 Jun 2006 18:09:53 +0000 (18:09 +0000)
src/backend/commands/typecmds.c

index 62b6500bb3c34e960263a13de3417d6c6795664f..a8c805719be7a5e74ceae1d9a68500741dc0c43e 100644 (file)
@@ -1841,7 +1841,7 @@ domainAddConstraint(Oid domainOid, Oid domainNamespace, Oid baseTypeOid,
        if (pstate->p_hasAggs)
                ereport(ERROR,
                                (errcode(ERRCODE_GROUPING_ERROR),
-                                errmsg("cannot use aggregate in check constraint")));
+                                errmsg("cannot use aggregate function in check constraint")));
 
        /*
         * Convert to string form for storage.