'const' decorations are fine, but not when they're inserted without
bothering to clean up the resulting warnings ...
This commit is contained in:
parent
29d35d5a34
commit
0d72b2d060
@ -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];
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user