Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 53916ca

Browse files
committed
Better error message if table exists.
1 parent 5a72241 commit 53916ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/catalog/heap.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.61 1998/08/26 17:12:08 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.62 1998/08/29 04:19:08 momjian Exp $
1111
*
1212
* INTERFACE ROUTINES
1313
* heap_create() - Create an uncataloged heap relation
@@ -775,7 +775,7 @@ heap_create_with_catalog(char *relname,
775775
if (RelationAlreadyExists(pg_class_desc, relname))
776776
{
777777
heap_close(pg_class_desc);
778-
elog(ERROR, "amcreate: %s relation already exists", relname);
778+
elog(ERROR, "%s relation already exists", relname);
779779
}
780780

781781
/* ----------------

0 commit comments

Comments
 (0)