aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/utility.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/tcop/utility.c')
-rw-r--r--src/backend/tcop/utility.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index 66ccb652784..7142f0e60f6 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.121 2001/10/18 17:30:15 thomas Exp $
+ * $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.122 2001/10/25 05:49:43 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -144,7 +144,6 @@ ProcessUtility(Node *parsetree,
switch (nodeTag(parsetree))
{
-
/*
* ******************************** transactions ********************************
*
@@ -386,7 +385,6 @@ ProcessUtility(Node *parsetree,
*/
if (stmt->column == NULL)
{
-
/*
* rename relation
*
@@ -398,7 +396,6 @@ ProcessUtility(Node *parsetree,
}
else
{
-
/*
* rename attribute
*/
@@ -476,7 +473,8 @@ ProcessUtility(Node *parsetree,
case T_GrantStmt:
{
- GrantStmt *stmt = (GrantStmt *) parsetree;
+ GrantStmt *stmt = (GrantStmt *) parsetree;
+
commandTag = stmt->is_grant ? "GRANT" : "REVOKE";
set_ps_display(commandTag);