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

Commit2432d10

Browse files
committed
Fix pg_get_encoding_from_locale() function call parameters to match
prototype for cases where there is no multi-language support.
1 parentb186523 commit2432d10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/port/chklocale.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,14 +343,14 @@ pg_get_encoding_from_locale(const char *ctype, bool write_message)
343343
#else/* (HAVE_LANGINFO_H && CODESET) || WIN32 */
344344

345345
/*
346-
* stub if no platform support
346+
* stub if nomulti-languageplatform support
347347
*
348348
* Note: we could return -1 here, but that would have the effect of
349349
* forcing users to specify an encoding to initdb on such platforms.
350350
* It seems better to silently default to SQL_ASCII.
351351
*/
352352
int
353-
pg_get_encoding_from_locale(constchar*ctype)
353+
pg_get_encoding_from_locale(constchar*ctype,boolwrite_message)
354354
{
355355
returnPG_SQL_ASCII;
356356
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp