'const' decorations are fine, but not when they're inserted without

bothering to clean up the resulting warnings ...
This commit is contained in:
Tom Lane 2000-07-18 03:57:33 +00:00
parent 29d35d5a34
commit 0d72b2d060
2 changed files with 4 additions and 4 deletions

View 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];

View 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,