From: Bruce Momjian Date: Sat, 29 Aug 1998 04:19:08 +0000 (+0000) Subject: Better error message if table exists. X-Git-Tag: REL6_4_2~548 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=53916cab6a40cda30df46f753928bd13ac6951df;p=postgresql Better error message if table exists. --- diff --git a/src/backend/catalog/heap.c b/src/backend/catalog/heap.c index 1e57cdca77..d4212f631f 100644 --- a/src/backend/catalog/heap.c +++ b/src/backend/catalog/heap.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.61 1998/08/26 17:12:08 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.62 1998/08/29 04:19:08 momjian Exp $ * * INTERFACE ROUTINES * heap_create() - Create an uncataloged heap relation @@ -775,7 +775,7 @@ heap_create_with_catalog(char *relname, if (RelationAlreadyExists(pg_class_desc, relname)) { heap_close(pg_class_desc); - elog(ERROR, "amcreate: %s relation already exists", relname); + elog(ERROR, "%s relation already exists", relname); } /* ----------------