diff options
author | Tom Lane | 2000-02-19 02:29:07 +0000 |
---|---|---|
committer | Tom Lane | 2000-02-19 02:29:07 +0000 |
commit | 905404a2461ca41b3178ea86c8d86d57588d9c40 (patch) | |
tree | 2ba964fca9cd9b9f74ad7ddb5c9a787a6ce7bafa | |
parent | 3cbcb78a3dc1f716c1dab3dc7cac3c405b210533 (diff) |
Remove gcc warnings. The Postgres world isn't really safe
for 'const' qualifiers yet ...
-rw-r--r-- | src/backend/tcop/utility.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 427bf7b4d41..62ad6d8f957 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.83 2000/02/18 09:29:31 inoue Exp $ + * $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.84 2000/02/19 02:29:07 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -856,7 +856,7 @@ ProcessUtility(Node *parsetree, switch (stmt->reindexType) { case INDEX: - relname = stmt->name; + relname = (char*) stmt->name; if (IsSystemRelationName(relname)) { if (!allowSystemTableMods && IsSystemRelationName(relname)) @@ -873,7 +873,7 @@ ProcessUtility(Node *parsetree, ReindexIndex(relname, stmt->force); break; case TABLE: - relname = stmt->name; + relname = (char*) stmt->name; if (IsSystemRelationName(relname)) { if (!allowSystemTableMods && IsSystemRelationName(relname)) @@ -890,7 +890,7 @@ ProcessUtility(Node *parsetree, ReindexTable(relname, stmt->force); break; case DATABASE: - relname = stmt->name; + relname = (char*) stmt->name; if (!allowSystemTableMods) elog(ERROR, "-O option is needed"); if (!IsIgnoringSystemIndexes()) |