Commit 2432d10b authored by Bruce Momjian's avatar Bruce Momjian

Fix pg_get_encoding_from_locale() function call parameters to match

prototype for cases where there is no multi-language support.
parent b186523f
...@@ -343,14 +343,14 @@ pg_get_encoding_from_locale(const char *ctype, bool write_message) ...@@ -343,14 +343,14 @@ pg_get_encoding_from_locale(const char *ctype, bool write_message)
#else /* (HAVE_LANGINFO_H && CODESET) || WIN32 */ #else /* (HAVE_LANGINFO_H && CODESET) || WIN32 */
/* /*
* stub if no platform support * stub if no multi-language platform support
* *
* Note: we could return -1 here, but that would have the effect of * Note: we could return -1 here, but that would have the effect of
* forcing users to specify an encoding to initdb on such platforms. * forcing users to specify an encoding to initdb on such platforms.
* It seems better to silently default to SQL_ASCII. * It seems better to silently default to SQL_ASCII.
*/ */
int int
pg_get_encoding_from_locale(const char *ctype) pg_get_encoding_from_locale(const char *ctype, bool write_message)
{ {
return PG_SQL_ASCII; return PG_SQL_ASCII;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment