|
17 | 17 | * |
18 | 18 | * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group |
19 | 19 | * |
20 | | - * $PostgreSQL: pgsql/src/backend/utils/adt/ri_triggers.c,v 1.83 2005/11/22 18:17:23 momjian Exp $ |
| 20 | + * $PostgreSQL: pgsql/src/backend/utils/adt/ri_triggers.c,v 1.84 2005/12/28 16:47:21 momjian Exp $ |
21 | 21 | * |
22 | 22 | * ---------- |
23 | 23 | */ |
@@ -3294,7 +3294,7 @@ ri_ReportViolation(RI_QueryKey *qkey, const char *constrname, |
3294 | 3294 | else |
3295 | 3295 | ereport(ERROR, |
3296 | 3296 | (errcode(ERRCODE_FOREIGN_KEY_VIOLATION), |
3297 | | -errmsg("update or delete on \"%s\" violates foreign key constraint \"%s\" on \"%s\"", |
| 3297 | +errmsg("update or delete ontable\"%s\" violates foreign key constraint \"%s\" on table \"%s\"", |
3298 | 3298 | RelationGetRelationName(pk_rel), |
3299 | 3299 | constrname,RelationGetRelationName(fk_rel)), |
3300 | 3300 | errdetail("Key (%s)=(%s) is still referenced from table \"%s\".", |
|