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

Commit924d046

Browse files
committed
Add a const decoration
Useful for a subsequent patch.Discussion:https://www.postgresql.org/message-id/flat/52a125e4-ff9a-95f5-9f61-b87cf447e4da@eisentraut.org
1 parent55627ba commit924d046

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/backend/parser/parse_type.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ LookupCollation(ParseState *pstate, List *collnames, int location)
537537
* pstate is only used for error location purposes, and can be NULL.
538538
*/
539539
Oid
540-
GetColumnDefCollation(ParseState*pstate,ColumnDef*coldef,OidtypeOid)
540+
GetColumnDefCollation(ParseState*pstate,constColumnDef*coldef,OidtypeOid)
541541
{
542542
Oidresult;
543543
Oidtypcollation=get_typcollation(typeOid);

‎src/include/parser/parse_type.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ extern char *TypeNameToString(const TypeName *typeName);
3636
externchar*TypeNameListToString(List*typenames);
3737

3838
externOidLookupCollation(ParseState*pstate,List*collnames,intlocation);
39-
externOidGetColumnDefCollation(ParseState*pstate,ColumnDef*coldef,OidtypeOid);
39+
externOidGetColumnDefCollation(ParseState*pstate,constColumnDef*coldef,OidtypeOid);
4040

4141
externTypetypeidType(Oidid);
4242

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp