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 c3291ae commit a965750Copy full SHA for a965750
src/bin/psql/describe.c
@@ -3,7 +3,7 @@
3
*
4
* Copyright 2000 by PostgreSQL Global Development Group
5
6
- * $Header: /cvsroot/pgsql/src/bin/psql/describe.c,v 1.39 2001/08/21 16:36:05 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/describe.c,v 1.40 2001/10/06 14:41:17 momjian Exp $
7
*/
8
#include "postgres_fe.h"
9
#include "describe.h"
@@ -793,7 +793,7 @@ describeTableDetails(const char *name, bool desc)
793
}
794
795
/* count triggers */
796
- if (!error && tableinfo.hasrules)
+ if (!error && tableinfo.triggers)
797
{
798
sprintf(buf,
799
"SELECT t.tgname\n"
0 commit comments