Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita343b2e

Browse files
author
Thomas G. Lockhart
committed
Coerce a function argument to avoid compiler warning.
1 parent439fb6c commita343b2e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

‎src/backend/tcop/utility.c

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.32 1997/12/04 00:27:24 scrappy Exp $
12+
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.33 1998/01/01 05:48:14 thomas Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -56,6 +56,9 @@
5656
#include"utils/syscache.h"
5757
#endif
5858

59+
voidDefineUser(CreateUserStmt*stmt);
60+
voidAlterUser(AlterUserStmt*stmt);
61+
voidRemoveUser(char*username);
5962

6063
/* ----------------
6164
*CHECK_IF_ABORTED() is used to avoid doing unnecessary
@@ -239,13 +242,12 @@ ProcessUtility(Node * parsetree,
239242
CHECK_IF_ABORTED();
240243

241244
/*
242-
* owner checking done in PerformAddAttribute (now
243-
* recursive)
245+
* owner checking done in PerformAddAttribute (now recursive)
244246
*/
245247
PerformAddAttribute(stmt->relname,
246248
userName,
247249
stmt->inh,
248-
stmt->colDef);
250+
(ColumnDef*)stmt->colDef);
249251
}
250252
break;
251253

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp