|
8 | 8 | *
|
9 | 9 | *
|
10 | 10 | * IDENTIFICATION
|
11 |
| - * $PostgreSQL: pgsql/src/backend/commands/typecmds.c,v 1.90 2006/04/05 22:11:55 tgl Exp $ |
| 11 | + * $PostgreSQL: pgsql/src/backend/commands/typecmds.c,v 1.91 2006/06/21 18:09:53 tgl Exp $ |
12 | 12 | *
|
13 | 13 | * DESCRIPTION
|
14 | 14 | * The "DefineFoo" routines take the parse tree and pick out the
|
@@ -1841,7 +1841,7 @@ domainAddConstraint(Oid domainOid, Oid domainNamespace, Oid baseTypeOid,
|
1841 | 1841 | if (pstate->p_hasAggs)
|
1842 | 1842 | ereport(ERROR,
|
1843 | 1843 | (errcode(ERRCODE_GROUPING_ERROR),
|
1844 |
| -errmsg("cannot use aggregate in check constraint"))); |
| 1844 | +errmsg("cannot use aggregatefunctionin check constraint"))); |
1845 | 1845 |
|
1846 | 1846 | /*
|
1847 | 1847 | * Convert to string form for storage.
|
|