Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2034086 commit c781600Copy full SHA for c781600
src/backend/tcop/utility.c
@@ -10,7 +10,7 @@
10
*
11
12
* IDENTIFICATION
13
- * $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 $
14
15
*-------------------------------------------------------------------------
16
*/
@@ -310,7 +310,7 @@ ProcessUtility(Node *parsetree,
310
elog(ERROR, "TRUNCATE cannot be used on sequences. '%s' is a sequence",
311
relname);
312
if (rel->rd_rel->relkind == RELKIND_VIEW)
313
- elog(ERROR, "TRUNCATE cannot be used on views. '%s' is a sequence",
+ elog(ERROR, "TRUNCATE cannot be used on views. '%s' is a view",
314
315
heap_close(rel, NoLock);
316
0 commit comments