]> granicus.if.org Git - postgresql/commitdiff
'const' decorations are fine, but not when they're inserted without
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 18 Jul 2000 03:57:33 +0000 (03:57 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 18 Jul 2000 03:57:33 +0000 (03:57 +0000)
bothering to clean up the resulting warnings ...

src/backend/commands/command.c
src/include/commands/command.h

index bcd0b4b2fb76952ed8aa4737750972f2436ede2c..7d21acc16ba898f2a2149554af7a96e730a99747 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.90 2000/07/15 12:37:14 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.91 2000/07/18 03:57:33 tgl Exp $
  *
  * NOTES
  *       The PerformAddAttribute() code, like most of the relation
@@ -1076,7 +1076,7 @@ AlterTableDropColumn(const char *relationName,
  * ALTER TABLE ADD CONSTRAINT
  */
 void
-AlterTableAddConstraint(const char *relationName,
+AlterTableAddConstraint(char *relationName,
                                                bool inh, Node *newConstraint)
 {
        char rulequery[41+NAMEDATALEN]; 
index b2b3d6383fdd92b83c3e757fbffcfc4d83b2d832..e83b30a0ef6837b2a8379c064d523bae5329d98d 100644 (file)
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $Id: command.h,v 1.21 2000/07/05 12:45:31 wieck Exp $
+ * $Id: command.h,v 1.22 2000/07/18 03:57:32 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -51,7 +51,7 @@ extern void AlterTableDropColumn(const char *relationName,
                                         bool inh, const char *colName,
                                         int behavior);
 
-extern void AlterTableAddConstraint(const char *relationName,
+extern void AlterTableAddConstraint(char *relationName,
                                                bool inh, Node *newConstraint);
 
 extern void AlterTableDropConstraint(const char *relationName,