aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/utility.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-10-25 05:50:21 +0000
committerBruce Momjian <bruce@momjian.us>2001-10-25 05:50:21 +0000
commitb81844b1738c584d92330a5ccd0fbd8b603d2886 (patch)
tree4fae0d4cd26048177fc5cd1a2dd91abc99ba0f99 /src/backend/tcop/utility.c
parent59da2105d8e6d95345b3b942a2e2aba8cead4838 (diff)
downloadpostgresql-b81844b1738c584d92330a5ccd0fbd8b603d2886.tar.gz
postgresql-b81844b1738c584d92330a5ccd0fbd8b603d2886.zip
pgindent run on all C files. Java run to follow. initdb/regression
tests pass.
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);