Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0d72b2d

Browse files
committed
'const' decorations are fine, but not when they're inserted without
bothering to clean up the resulting warnings ...
1 parent 29d35d5 commit 0d72b2d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/backend/commands/command.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.90 2000/07/15 12:37:14 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.91 2000/07/18 03:57:33 tgl Exp $
1212
*
1313
* NOTES
1414
* The PerformAddAttribute() code, like most of the relation
@@ -1076,7 +1076,7 @@ AlterTableDropColumn(const char *relationName,
10761076
* ALTER TABLE ADD CONSTRAINT
10771077
*/
10781078
void
1079-
AlterTableAddConstraint(const char *relationName,
1079+
AlterTableAddConstraint(char *relationName,
10801080
bool inh, Node *newConstraint)
10811081
{
10821082
char rulequery[41+NAMEDATALEN];

src/include/commands/command.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: command.h,v 1.21 2000/07/05 12:45:31 wieck Exp $
10+
* $Id: command.h,v 1.22 2000/07/18 03:57:32 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -51,7 +51,7 @@ extern void AlterTableDropColumn(const char *relationName,
5151
bool inh, const char *colName,
5252
int behavior);
5353

54-
extern void AlterTableAddConstraint(const char *relationName,
54+
extern void AlterTableAddConstraint(char *relationName,
5555
bool inh, Node *newConstraint);
5656

5757
extern void AlterTableDropConstraint(const char *relationName,

0 commit comments

Comments
 (0)