Fix typo in error message. Noted by [email protected].
authorTom Lane
Tue, 9 Oct 2001 14:00:22 +0000 (14:00 +0000)
committerTom Lane
Tue, 9 Oct 2001 14:00:22 +0000 (14:00 +0000)
src/backend/tcop/utility.c

index 957c9199af1dae192bffd640bbebdde445a957d5..84a12a33e046fdd9559434973988ce0582c28870 100644 (file)
@@ -10,7 +10,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.118 2001/09/18 01:59:06 tgl Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.119 2001/10/09 14:00:22 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -310,7 +310,7 @@ ProcessUtility(Node *parsetree,
                    elog(ERROR, "TRUNCATE cannot be used on sequences. '%s' is a sequence",
                         relname);
                if (rel->rd_rel->relkind == RELKIND_VIEW)
-                   elog(ERROR, "TRUNCATE cannot be used on views. '%s' is a sequence",
+                   elog(ERROR, "TRUNCATE cannot be used on views. '%s' is a view",
                         relname);
                heap_close(rel, NoLock);